This Help forum is for issues relates to the latest release (1.6.x). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

How to change data coding, set coding for data? 5 years 11 months ago #1

  • marhau
  • marhau's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 21
Hello!

Is it possible to set the coding data (names, names of places) in the webtrees administration page?
The names etc. displays badly, and I wanted to change the ISO-8859-1 to ISO-8859-2.

Regards
MH

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

How to change data coding, set coding for data? 5 years 11 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14491
webtrees uses UTF8 for everything.

A GEDCOM file contains a header which specifies the encoding that it uses. When you import a GEDCOM file, the data is converted into UTF8.

Near the top of the file, you should see a line such as "1 CHAR XXXX" which specifies the encoding used in the file.

If this is wrong, change it to "1 CHAR LATIN2"
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

How to change data coding, set coding for data? 5 years 11 months ago #3

  • marhau
  • marhau's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 21
Thank you very much.

After the GEDCOM file is loaded, there appears information
"This GEDCOM file is encoded using ANSI. Assume this to mean ISO-88590-1."
Why the webtrees itself determines what encoding choose, and not allow the user to make a choice?

Only in the file is the ability to change coding?
Is it not possible to do this on the administration page?

Regards
MH

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

How to change data coding, set coding for data? 5 years 11 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14491
> After the GEDCOM file is loaded, there appears information
> "This GEDCOM file is encoded using ANSI. Assume this to mean ISO-88590-1."

This is because your GEDCOM file says that it is encoded using ANSI.

1 CHAR ANSI

ANSI does not mean anything. There is no official "ANSI" encoding.

webtrees assumes CP1252/LATIN1 - because it has to do something, and LATIN1 is the most common.

> Only in the file is the ability to change coding?

Correct. webtrees uses UTF8 for *everything*. We convert to UTF8 when we load data.

If your GEDCOM specifies "1 CHAR ANSI", then you must change it to "1 CHAR LATIN2".

There is no other option.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

How to change data coding, set coding for data? 5 years 10 months ago #5

  • marhau
  • marhau's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 21
Thank you very much for your explanation.

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

  • Page:
  • 1
Powered by Kunena Forum