Encoding with GDL Text Addon

Home Forums Problems and solutions in GDL GDL add-ons Encoding with GDL Text Addon

Viewing 2 reply threads
  • Author
    Posts
    • #4461
      Joachim Sühlo
      Participant

      When I read a text file, that was edited with Open Office and saved as Tab Text CSV,
      I got misrepresentation of German “umlaute” and other special characters,
      when I use TEXT2 command in 2D window.
      Which kind of encoding must I choose for the .txt file to get correct presentations?
      I checked UTF-8 and ISO-8859-1 (using Sublime Text “save with encoding”); both where not correct.

      GDL Object Developer
      b-prisma
      MAC OSx 10.14

    • #4462
      Péter Baksa
      Keymaster

      Hi Joachim,

      As I remember this has been asked previously, and I couldn’t answer it completely. The solution from the developer:
      “For compatibility it can read both ANSI and UTF8 files. It detects UTF8 from the BOM at the beginning of the file. Make sure you save it with encoding including BOM, otherwise it will be treated as ANSI.”

      I’m sure any programmer’s text editors are capable to do it, I don’t know how to set up OpenOffice to do it.

      Péter Baksa
      Library Platform, Software Engineer
      GRAPHISOFT SE

    • #4463
      Joachim Sühlo
      Participant

      Thank You, Péter. That worked well with BOM.

      GDL Object Developer
      b-prisma
      MAC OSx 10.14

Viewing 2 reply threads
  • The forum ‘GDL add-ons’ is closed to new topics and replies.