Re: Encodings

From: Vais Salikhov <vsalik....at.gmail.com>
Date: Fri, 27 Feb 2009 11:35:37 -0500

That sounds like a reasonable way to handle this, Mitchell, why not?

Sent from my iPhone

On Feb 27, 2009, at 11:12 AM, mitchell <mforal.n....at.gmail.com> wrote:

>
> Vais,
>
>> 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.
>
> -Mitchell;
> >
Received on Fri 27 Feb 2009 - 11:35:37 EST

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