[Top][All Lists]

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

Re: Encoding in Octave 5.0

From: Pantxo Diribarne
Subject: Re: Encoding in Octave 5.0
Date: Wed, 30 Jan 2019 23:19:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Le 30/01/2019 à 08:37, "Markus Mützel" a écrit :
Am 30. Januar 2019 um 08:30 Uhr schrieb "Markus Mützel":
Am 29. Januar 2019 um 18:02 Uhr schrieb "Chris Zheng":
Dear maintainers,

I use Octave within Emacs under Windows 8.1 using Inferior Octave
mode. With version 4.4.1, the following code

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
ftp://alpha.gnu.org/gnu/octave/, 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). The code sends
to the Octave process is indeed encoded in UTF-8. I wonder what is
changed between 4.4.1 and 5.0, and what can I do to fix the problem.
I can confirm what you describe 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).

Can you please open a bug report on savannah with your example?

Sorry. Please wait before opening a bug report.
I thought that .svg file creation no longer went through .ps (which has 
problems with non-ASCII characters). But it looks like it still does.
@Pantxo: I think you know the printing system better. Do you know which options 
would make this work for svg? Thanks.


This is definitely a regression. Could you file a bug report so that we can discuss this issue there?


reply via email to

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