WordPress.org

Support

Support » Plugins and Hacks » [Resolved] tablepress diacritics not read properly

[Resolved] tablepress diacritics not read properly

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    @tobiasbg

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, this is a known issue, and the reason is the different character encodings between the file and the database.
    Unfortunately, dealing with character encodings is not trivial, so that this can sometimes happen.

    Now, I have added some code to the latest development version, that should handle this better.
    If you want, you can try this by installing that development version. You can download it from http://tablepress.org/download/tablepress-dev.zip Just extract that file, and replace the folder “tablepress” in the “plugins” directory on your server with the new one.

    I’d be happy to hear if the import then works for you.

    Thanks!
    Tobias

    It works! Your plugin is really a great one. I will look for a Dutch translation for it!

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    awesome! 🙂 Great to hear that. Thanks for the confirmation, and also for wanting to contribute with the translation!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, don’t forget to rate the plugin here in the plugin directory. Thanks!

    It goes a lot better but not all diacritics works as I saw today:

    but for example Oğuzhan does not sees the Turkish diacritics. Somewhere UTF-8 coding seems necessary.

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    sorry about that. Yes, it is about the UTF-8 encoding. TablePress automatically tries to convert the imported file to UTF-8, but unfortunately, it can not reliably determine what the character encoding was before. Therefore, this might not work all the time.

    For these files, you’ll then have to do a manual workaround: Before importing the CSV file, open it in a text editor, like Notepad, and choose “File” -> “Save as”, and choose “UTF-8” as the character encoding there. After that, the file should be imported without problems.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] tablepress diacritics not read properly’ is closed to new replies.