>On Tue, Oct 30, 2001 at 10:54:01AM -0600, [EMAIL PROTECTED] 
>wrote:
> > http://bugzilla.abisource.com/show_bug.cgi?id=2077
> >
> > ------- Additional Comments From [EMAIL PROTECTED]  2001-10-30 10:54 
>-------
> > No, abiword shouldn't assume that your text is UTF-8 just because you're
> > running in a UTF-8 locale.
>
>Huh? That's part of the definition of a locale. Under a locale, the text
>encoding is the same as the terminal encoding, which is the same as the
>locale encoding. If the text encoding isn't the same as the terminal
>encoding, you can't use cat or more or grep or any other console program
>without recoding the output to screen. You couldn't redirect output to
>disk without recoding it. If the locale encoding differs from both of
>them, then what does it mean and why is it useful? Gettext, for one,
>uses the locale encoding for the terminal/text encoding.
>
>If I'm wrong, then someone please clarify, but I don't understand where
>you're coming from at all.

One cannot make the assumption that the files on disk are written in the 
same locale that you're running under. Hell, you might've gotten them from 
someone who wrote it in iso-8859-1 (god forbid anyone use that locale any 
more...). Changing your locale to utf-8 will *not* for instance change the 
actual encoding of /etc/password to utf-8 : it's still in iso-latin-1 or 
whatever.

The locale you're running under doesn't mean a shit as to what encoding your 
documents have.

AbiWord will assume ASCII text by default, just like it always has, because 
that's the fscking definition of text. If you want Abi to read encoded text 
via some mechanism and Abi *can't* auto-detect the encoding, then use the 
encoded-text dialog and specify the encoding manually.

My associates and I are closing this bug as QA:WONTFIX. Flame us all you'd 
like, but they all go to /dev/null

Dom

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to