Skip to content

Importer encoding bug #4705

Closed
Closed

Description

@ytzong

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.

Activity

  1. javorszky commented on Dec 25, 2014

    @javorszky
    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.

  2. ytzong commented on Dec 25, 2014

    @ytzong
    Author

    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.

  3. javorszky commented on Dec 25, 2014

    @javorszky
    Contributor

    Awesome, good to hear that! :)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions