Web based family history software

Question webtrees dont show scandinavian characters

  • jarvin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #1 by jarvin
I have recently updated from phpgedview to webtrees latest version. Unfortunately the program does not show any scandinavian characters. In phpgedview they appeared correctly with the exact same gedcom file. I am new to wbtrees and cannot figure out where the problem is. Not even if the error is in webtrees, php or mysql. I suspect it is a question about configuration because webtrees itself displays the scandinavian characters whitch belongs to the translated program. Is there anyone who can giv me a hint where to start looking.
I run webtrees on linux debian. Mysql runs with innodb.
/jarvin

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #2 by fisharebest
Replied by fisharebest on topic webtrees dont show scandinavian characters
What exactly do you mean by "does not show any scandinavian characters"?

I guess that you are seeing strange/random characters instead of letters with diacritics.

This is a bug in PGV. It corrupted the data when it was written to the database - and then uncorrupted it when it was read back.

The migration copies the (corrupted) data from the database. See the FAQ wiki.webtrees.net/en/FAQ#Importing_data_from_PhpGedView

If this guess is wrong, and you have another problem, please provide more specific details (example, URL, etc.)

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • jarvin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #3 by jarvin
Replied by jarvin on topic webtrees dont show scandinavian characters

fisharebest wrote: What exactly do you mean by "does not show any scandinavian characters"?

I guess that you are seeing strange/random characters instead of letters with diacritics.

Yes webtrees shows irrelevant characters insted of the scandinavian.

This is a bug in PGV. It corrupted the data when it was written to the database - and then uncorrupted it when it was read back.

I dont think so. I have made the gedcom file with a text editor and saved it vith utf8 configuration.

The migration copies the (corrupted) data from the database. See the FAQ wiki.webtrees.net/en/FAQ#Importing_data_from_PhpGedView

If this guess is wrong, and you have another problem, please provide more specific details (example, URL, etc.)


The data is not imported from PGV so the problem is not there. My URL : http//:85.134.115.83

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #4 by fisharebest
Replied by fisharebest on topic webtrees dont show scandinavian characters
Perhaps your GEDCOM file contains the wrong encoding in the header?

The "1 CHAR" entry in the file header must be the correct encoding of the file.

http//:85.134.115.83


Is there a webtrees installation here? I do not see it.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • jarvin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #5 by jarvin
Replied by jarvin on topic webtrees dont show scandinavian characters

fisharebest wrote: Perhaps your GEDCOM file contains the wrong encoding in the header?

The "1 CHAR" entry in the file header must be the correct encoding of the file.


That is possibly the culprit. The gedcom file does not contain any CHAR line

http//:85.134.115.83


Is there a webtrees installation here? I do not see it.


There is a webtrees installation but I have shortened the name a bit. Write " 85.134.115.83/webtree " (no s at the end)
/jarvin
Last edit: 10 years 9 months ago by jarvin.

Please Log in or Create an account to join the conversation.

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
10 years 9 months ago - 10 years 9 months ago #6 by norwegian_sardines
Replied by norwegian_sardines on topic webtrees dont show scandinavian characters
I've never had a problem with "Scandinavian" characters on a GEDCOM import except if the characters are not encoded the same as the [strike]FILE[/strike] CHAR tag.

Ken
Last edit: 10 years 9 months ago by norwegian_sardines.

Please Log in or Create an account to join the conversation.

  • bertkoor
  • Away
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
10 years 9 months ago #7 by bertkoor
Replied by bertkoor on topic webtrees dont show scandinavian characters
So your webtrees database is filled with data from a GEDCOM import?
Can you open this .GED file with notepad.exe (or any other plain text editor) and quote the first ten or so lines?

stamboom.BertKoor.nl runs on webtrees v1.7.13

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #8 by fisharebest
Replied by fisharebest on topic webtrees dont show scandinavian characters

jarvin wrote: There is a webtrees installation but I have shortened the name a bit. Write " 85.134.115.83/webtree " (no s at the end)
/jarvin


The fact that all the problems are shown as "??" suggests very much that your data is encoded using UTF8, and that it is being interpreted as ASCII.

So, you probably need to edit the GEDCOM file using a text editor, and add a line so that instead of beginning with
Code:
0 HEAD

the file begins with
Code:
0 HEAD 1 CHAR UTF-8

Be very careful that your text editor does not try to be clever and change the encoding. e.g. avoid windows notepad.exe

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • jarvin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #9 by jarvin
Replied by jarvin on topic webtrees dont show scandinavian characters

fisharebest wrote:

jarvin wrote: There is a webtrees installation but I have shortened the name a bit. Write " 85.134.115.83/webtree " (no s at the end)
/jarvin


The fact that all the problems are shown as "??" suggests very much that your data is encoded using UTF8, and that it is being interpreted as ASCII.

So, you probably need to edit the GEDCOM file using a text editor, and add a line so that instead of beginning with
Code:
0 HEAD

the file begins with
Code:
0 HEAD 1 CHAR UTF-8

Be very careful that your text editor does not try to be clever and change the encoding. e.g. avoid windows notepad.exe


I changed the head and now the scandinavian characters shows correct. Thank you very much for fast help.

Please Log in or Create an account to join the conversation.

  • jarvin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #10 by jarvin
Replied by jarvin on topic webtrees dont show scandinavian characters

bertkoor wrote: So your webtrees database is filled with data from a GEDCOM import?
Can you open this .GED file with notepad.exe (or any other plain text editor) and quote the first ten or so lines?


Thank you for answering. fisharebest already helped me and the program and gedcom file now is functioning perfect.

Please Log in or Create an account to join the conversation.

  • jarvin
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 9 months ago #11 by jarvin
Replied by jarvin on topic webtrees dont show scandinavian characters

norwegian_sardines wrote: I've never had a problem with "Scandinavian" characters on a GEDCOM import except if the characters are not encoded the same as the [strike]FILE[/strike] CHAR tag.


Thank you for answering. As you said the error was in the file header and when I corrected it then the program and gedcom file runs as they are intended.

/jarvin

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}