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

Comments

Projects
None yet
2 participants
@ytzong

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

This comment has been minimized.

Member

javorszky commented Dec 25, 2014

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

This comment has been minimized.

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 Dec 25, 2014

@javorszky

This comment has been minimized.

Member

javorszky commented Dec 25, 2014

Awesome, good to hear that! :)

@codertx codertx referenced this issue Feb 23, 2015

Closed

Encoding Bug #4941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment