octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55612] Characters not encoded in UTF-8 when p


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55612] Characters not encoded in UTF-8 when printing to .svg
Date: Thu, 31 Jan 2019 02:31:07 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

URL:
  <https://savannah.gnu.org/bugs/?55612>

                 Summary: Characters not encoded in UTF-8 when printing to
.svg
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Thu 31 Jan 2019 07:31:05 AM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.90
        Operating System: Any

    _______________________________________________________

Details:

As reported on the mailing list by Chris Zheng[1]:
With version 4.4.1, the following code

title('é');
print n.svg


results in garbage content in the figure window, but the right content in the
SVG file. However with version 5.0.90 downloaded from [2], the above code
results in right content on the screen but wrong content in the SVG file (the
wrong content is encoded in GBK which is my locale encoding).


I can confirm what was described with the 5.0.90 build on Windows 10: The
strings in the .svg should be UTF-8 encoded. But they seem to be encoded in
Latin-1 (which is my locale encoding).

[1]:
http://octave.1599824.n4.nabble.com/Encoding-in-Octave-5-0-td4691184.html
[2]: ftp://alpha.gnu.org/gnu/octave/




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55612>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]