[Top][All Lists]

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

Re:Re: [Texmacs-dev] bug with file names with CJK characters

From: Zou Hu
Subject: Re:Re: [Texmacs-dev] bug with file names with CJK characters
Date: Mon, 20 Dec 2010 23:52:00 +0800 (CST)

在2010/12/20, "Zou Hu" <address@hidden> 写道:
Hi, normally for cjk operating system filenames use double-byte encoding on Windows, and double- byte or utf-8 encoding on Linux. Therefore we need to change encoding before opening file and this is done in modification for qt_chooser_dialog.cppBut if we just do this, the window title and goto menu would show wrong strings for cjk filenames. therefore I make some modification for tm_data.cpp. Unfortunately there is no iconv on Windows, therefore I have to use some qt functions. It's no the best choice, maybe you would improve it. Best.
在2010/12/20, "Gubinelli Massimiliano" <address@hidden> 写道:
 thanks for the patch. Could you explain it to me? why we need the call to Local8Bit? What is the difference between Ubuntu and Windows behaviors. Note that it is not appropriate to add dependency on Qt in TeXmacs internals so  your patch of  src/Texmacs/Data/tm_data.cpp needs some modifications.


On 20 déc. 2010, at 12:37, Zou Hu wrote:

Hi all, I have improved the patch for Linux system; please see the attachment for the updated patch file. Best

At 2010-12-20,"Zou Hu" <address@hidden> wrote:
Hi developers,
I have fixed these two bugs. Please see the attachment for the patch file.
Best wishes.

At 2010-12-19,Zou Hu wrote:
Hi developers,
when the file name includes some CJK characters, I could correctly open it on Ubuntu Linux, but the title bar of texmacs main window show the file name with corrupted string. Furthermore, I could not open any file with CJK name on Windows.

Texmacs-dev mailing list

reply via email to

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