On Fri, 15 Jul 2005 09:03:49 +0100 Angus Leeming <[EMAIL PROTECTED]> wrote:

> Martin Vermeer wrote:
> 
> > Patch to emit an error message in case the system locale is Unicode
> > based. (LyX only supports 8-bit locales, i.e., if you want to be able
> to
> > write German labels, index entries etc., your locale should be
> ¨de_DE¨
> > WITHOUT ¨.UTF-8¨.) (Entering umlauted/accented text into the text
> buffer
> > is not affected by this.)
> > 
> > There should be still text added to the help files to assist people
> > getting bitten by this.
> > 
> > OK to commit?
> 
> The idea looks good but you should i18n the message!
> 
>     if (contains(c, "UTF") || contains(c, "utf")) {
>         lyxerr << boost::format(_("Locale string: %1$s\n"
>                                   "This system's locale uses Unicode. "
>                                   "LyX only supports 8-bit locales")) %
> c
>                << endl;
> 
> -- 
> Angus
> 
> 

Actually I have second thoughts about this.

I tested 1.4CVS with a variety of locale strings, english and french and german
and with and without UTF-8. I tested typing umlauted chars into the buffer, into
labels and cross-references and latexing, etc.

I just don´t see the supposed bugs. LyX just does the right thing in any locale.
But admittedly this is only on one system (Mandriva).

If this is true, having a system locale containing Unicode should not be a 
problem.

Question: is this indeed the case? Or can someone come up with a problem case
where system Unicode causes trouble? If so, I want to hear about it.

- Martin

Reply via email to