Re: Char encodings in lyx->latex->lyx cycles

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 11:18, Georg Baum wrote: > Use the attached patch, and call importString with the "latexclipboard" > format. seems to be working :-)! and it's pushed in tommaso features/chat. Thanks! T.

Re: Char encodings in lyx->latex->lyx cycles

2013-11-10 Thread Georg Baum
Tommaso Cucinotta wrote: > On 08/11/13 21:17, Tommaso Cucinotta wrote: >> On 08/11/13 19:59, Georg Baum wrote:> importString() takes a docstring, >> therefore it must be in UCS4 encoding. If >> >> I'm importing using from_utf8() as I've seen it often used to import from >> a std::string, as I hav

Re: Char encodings in lyx->latex->lyx cycles

2013-11-08 Thread Tommaso Cucinotta
On 08/11/13 21:17, Tommaso Cucinotta wrote: > On 08/11/13 19:59, Georg Baum wrote:> importString() takes a docstring, > therefore it must be in UCS4 encoding. If > > I'm importing using from_utf8() as I've seen it often used to import from a > std::string, as I have in this case. > >> you are

Re: Char encodings in lyx->latex->lyx cycles

2013-11-08 Thread Tommaso Cucinotta
On 08/11/13 19:59, Georg Baum wrote:> importString() takes a docstring, therefore it must be in UCS4 encoding. If I'm importing using from_utf8() as I've seen it often used to import from a std::string, as I have in this case. > you are sure that the encoding of the contents you pass to import

Re: Char encodings in lyx->latex->lyx cycles

2013-11-08 Thread Georg Baum
Tommaso Cucinotta wrote: > Hi, > > I'm facing this problem: I try to import in LyX a latex paragraph > containing accented characters via Buffer::importString(), but the result > is not showing properly on screen. How can I fix this ? importString() takes a docstring, therefore it must be in UCS