Re: Encodings

From: mitchell <>
Date: Fri, 27 Feb 2009 08:12:51 -0800 (PST)


> Mitchell, perhaps I misunderstood the original problem - so the  
> problem is not to detect the encoding, but to set the buffer's encoding?

On GTK, Scintilla's code_page can be set to ASCII, DBCS (Japanese), or
UTF8. If say we detect UTF-16 (LE), there's no way to tell Scintilla
that. The only thing I can see to do is convert it to UTF8 for display
in Scintilla, and UTF-16 (LE) when writing back to file.
Received on Fri 27 Feb 2009 - 11:12:51 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:36 EST