WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] tablepress diacritics not read properly (6 posts)

  1. hsinke
    Member
    Posted 1 year ago #

    special characters are not good supported. I loaded a csv file with for example the value "Vajèn" and after importing it became blank.

    How to handle this?

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. hsinke
    Member
    Posted 1 year ago #

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

  4. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  5. hsinke
    Member
    Posted 1 year ago #

    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.

  6. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic