If you need to upgrade your PGV installation, then hopefully you will also consider that you can conveniently move to webtrees with our PGV-to-webtrees wizard. It will move ALL your users, news, favorites and family trees to webtrees in a matter of minutes.
Solved Error: converting GEDCOM files from UNICODE
- iplat
- Topic Author
- Offline
- New Member
Less
More
7 years 9 months ago #1
by iplat
Error: converting GEDCOM files from UNICODE was created by iplat
Hi,
I'm using PGV on other hosting. Now decided to move to my own familyname.name
PGV is installed under familyname.name/family
I'm trying to convert to webtrees and got error below:
0% Error: converting GEDCOM files from UNICODE encoding to UTF-8 encoding not currently supported.
What do I do wrong?
Thanks,
Ivan
I'm using PGV on other hosting. Now decided to move to my own familyname.name
PGV is installed under familyname.name/family
I'm trying to convert to webtrees and got error below:
0% Error: converting GEDCOM files from UNICODE encoding to UTF-8 encoding not currently supported.
What do I do wrong?
Thanks,
Ivan
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
7 years 9 months ago #2
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic Error: converting GEDCOM files from UNICODE
There is no such thing as "UNICODE encoding". It is a general term that covers many different actual encodings. The most common is "UTF-8", with "UTF-16LE" and "UTF-16BE" used occaisionally.
So, your GEDCOM file contains a header saying "This file is encoded in UNICODE", and webtrees doesn't know what that means.
I've created an online tool that should be able to fix this. It looks at the actual data, and works out which of the common encodings is actually used, converts to UTF-8 and updates the headers.
dev.webtrees.net/ansel/
FYI, this tool does not keep any copy of your data.
So, your GEDCOM file contains a header saying "This file is encoded in UNICODE", and webtrees doesn't know what that means.
I've created an online tool that should be able to fix this. It looks at the actual data, and works out which of the common encodings is actually used, converts to UTF-8 and updates the headers.
dev.webtrees.net/ansel/
FYI, this tool does not keep any copy of your data.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- iplat
- Topic Author
- Offline
- New Member
7 years 9 months ago - 7 years 9 months ago #3
by iplat
Replied by iplat on topic Error: converting GEDCOM files from UNICODE
It was UTF8, I just change CHAR UNICODE to CHAR UTF8 in ged file. It's accepting now the file itself.
But conversion from PGV doesn't passed properly.
I've checked settings on my PGV installation. Option "Use the database to provide UTF-8 collation" if off and I have all Russian names displayed properly. But it shown wrong charset if I change this option to On.
Also for some reason most of the tables in MySQL database has got latin1_swedish_ci collation and some of them utf8_general_ci.
Is there any solution to properly transcode properly all names and places?
Also I've tried to convert collations inside of the MySQL database with ALTER TABLE pgv_news CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
but it still shows incorrect.
But conversion from PGV doesn't passed properly.
I've checked settings on my PGV installation. Option "Use the database to provide UTF-8 collation" if off and I have all Russian names displayed properly. But it shown wrong charset if I change this option to On.
Also for some reason most of the tables in MySQL database has got latin1_swedish_ci collation and some of them utf8_general_ci.
Is there any solution to properly transcode properly all names and places?
Also I've tried to convert collations inside of the MySQL database with ALTER TABLE pgv_news CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
but it still shows incorrect.
Last edit: 7 years 9 months ago by iplat.
Please Log in or Create an account to join the conversation.
- ToyGuy
- Offline
- Moderator
- Live like it's Christmas every day - Santa Stephen
7 years 9 months ago #4
by ToyGuy
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
Replied by ToyGuy on topic Error: converting GEDCOM files from UNICODE
Search the forum for conversion options. There is a utility for this that Greg wrote. Special character encoding was often an issue with PGV data files.
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com , a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
Please Log in or Create an account to join the conversation.
- iplat
- Topic Author
- Offline
- New Member
7 years 9 months ago #5
by iplat
Replied by iplat on topic Error: converting GEDCOM files from UNICODE
Looks like it's all related only to usernames ans news, which I can fix. All names from ged file were converted properly.
Please Log in or Create an account to join the conversation.
- iplat
- Topic Author
- Offline
- New Member
7 years 9 months ago #6
by iplat
Replied by iplat on topic [SOLVED] Error: converting GEDCOM files from UNICODE
Problem solved.
Please Log in or Create an account to join the conversation.