[Top][All Lists]

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

[Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder n

From: Rik
Subject: [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut
Date: Sat, 1 Oct 2016 14:47:33 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #23, bug #49118 (project octave):

I'll have to let jwe take a look.  I do see a few instances where toAscii has
been replaced by toLatin1.  Maybe that makes a difference.

-  QTextCodec *codec = QTextCodec::codecForName (_encoding.toAscii ());

+  QTextCodec *codec = QTextCodec::codecForName (_encoding.toLatin1 ());

Also, what strings are subject to UFT-8 may have changed. 

 #if ! defined (Q_OS_WIN32)

-    QTextCodec::setCodecForCStrings (QTextCodec::codecForName ("UTF-8"));

+    QTextCodec::setCodecForLocale (QTextCodec::codecForName ("UTF-8"));



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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