Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importer encoding bug #4705

Closed
ytzong opened this issue Dec 23, 2014 · 3 comments
Closed

Importer encoding bug #4705

ytzong opened this issue Dec 23, 2014 · 3 comments

Comments

@ytzong
Copy link

ytzong commented Dec 23, 2014

Using SQLite. Import from wordpress, and the language of the posts is Chinese.

When imported, the title is Chinese, but the content is garbled, please fix it, thanks.

@javorszky
Copy link
Contributor

Hi @ytzong, and welcome to Ghost's github repo.

Ghost currenty has plans to allow for internationalization (see https://trello.com/b/EceUgtCL/ghost-roadmap for further details). The problem with chinese characters I think is the encoding the database uses. Can you confirm what encoding your wordpress datase tables use? I think it's either Big5 or gb2312.

Ghost uses UTF-8 encoding, so representation of traditional or simplified chinese characters will be wrong.

I'm not sure when this is going to be a solved problem (cc @novaugust @jaswilli @ErisDS @sebgie ), but it's something we're working on.

Thanks again for the report.

@ytzong
Copy link
Author

ytzong commented Dec 25, 2014

When I setup a wordpress in local with MYSQL in UTF-8, and import data from old wordpress, then Export to Ghost, the problem sloved, thank you very much.

@ytzong ytzong closed this as completed Dec 25, 2014
@javorszky
Copy link
Contributor

Awesome, good to hear that! :)

@doouding doouding mentioned this issue Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants