[Top][All Lists]

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

[Octave-bug-tracker] [bug #55306] non-english typing in the editor don't

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55306] non-english typing in the editor don't appear but still there hidden causing error
Date: Mon, 31 Dec 2018 11:24:34 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

Follow-up Comment #6, bug #55306 (project octave):

If I follow the Qt sources correctly, QTextCodec::canEncode uses
QTextCodec::convertFromUnicode to convert to the local encoding and checks
invalidChars of its ConverterState whether it was successful. Unfortunately
some implementations (e.g. for ICU [1]) don't update the invalidChars member
and the check is always true.

The attached patch uses gnulib to check whether the conversion is possible.
IIRC, you (Torsten) had to map some codepage names from gnulib to Qt. Do you
know whether this is necessary the other way round as well?


(file #45814)

Additional Item Attachment:

File name: bug55306_file_editor_codec.patch Size:3 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

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