Menu

#2395 Japanese wgnuplot menu garbled

None
closed-fixed
nobody
2021-12-25
2021-01-12
Anonymous
No

Japanese characters are garbled.

1 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2021-01-12

    You have given no hint as to what commands you gave for either input or output. How can we possibly debug this?

     
  • Bastian Märkisch

    • labels: --> wgnuplot
    • summary: garbled --> Japanese wgnuplot menu garbled
    • Group: -->
    • Priority: -->
     
  • Bastian Märkisch

    When enforcing Japanese as language for the wgnuplot menu items with Language=ja in wgnuplot.ini on a non S-JIS system, characters are garbled as shown in the screen shot. This is confirmed for all versions since 5.0.

    The reason is that wgnuplot-ja.mnu is encoded in S-JIS, but interpreted using the system's default "ANSI" codepage. On my system that would be CP1252. To fix this, we can either make sure that we always use the file's encoding to read the file, or just require that all .mnu files are encoded in UTF-8.
    @shige-takeno, what is your opinion on this?

    Note that this should not be an issue on Japanese Windows systems.

     
  • Bastian Märkisch

    Unfortunately, there's no work-around for the current situation.
    A straightforward fix to the source can be found in [merge-requests:#14] for discussion.

     

    Last edit: Bastian Märkisch 2021-01-13
  • Shigeharu TAKENO

    If you don't want to see Japanese (garbled) menu, uninstall and reinstall the gnuplot WITHOUT "Japanese Language Support".

     
  • Bastian Märkisch

    • status: open --> pending-fixed
     
  • Bastian Märkisch

    Fixed in version 5.5.
    @shige-takeno, please note that menu files now need to be encoded in UTF-8 for version 5.5.

     
  • Bastian Märkisch

    • labels: wgnuplot --> wgnuplot, Windows
     
  • Ethan Merritt

    Ethan Merritt - 2021-12-25
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB