Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| >>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
|
| Jean-Marc> I get the following messages when reading fr_Intro.lyx:
|
| Jean-Marc> Error returned from iconv EILSEQ An invalid multibyte
| Jean-Marc> sequence has been encountered in the input. When converting
| Jean-Marc> from UCS-4 to UCS-2. Input: 0xff 0xff 0xff 0xab Error
| Jean-Marc> returned from iconv EILSEQ An invalid multibyte sequence
| Jean-Marc> has been encountered in the input. When converting from
| Jean-Marc> UCS-4 to UCS-2.
|
| Jean-Marc> 0xab is for left guillemet and 0xbb right guillemet in
| Jean-Marc> latin1
|
| OK, now I know that this is from the quote inset, and the guillemet
| strings are set explicitly there. Let's see if I can learn new tricks.
| The relevant code is
| string const InsetQuotes::dispString(Language const * loclang) const
|
| I guess dispString should be made to return a docstring, right?
| So I come to this very basic piece of code, and I am stuck:
| if (disp == "<<")
| disp = '«';
| else if (disp == ">>")
| disp = '»';
| }
|
| How do I translate this in the new world where disp is a docstring?
disp = 0xXX;
where XX is the proper latin1 value for guillemets.
disp should be char_type. (or docstring, whatever fits best.)
--
Lgb