Re: [Updated PATCH] accept utf8 in layout files

2007-07-10 Thread Abdelrazak Younes
Jean-Pierre Chrétien wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Jean-Pierre Chrétien wrote: The problems comes from the fact that with both layout and lyx files in Unicode, [...] I know and my patch solves this, did you try it? I do not have access to svn from here, and I guess

Re: [Updated PATCH] accept utf8 in layout files

2007-07-10 Thread Jean-Pierre Chrétien
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Jean-Pierre Chrétien wrote: > > The problems comes from the fact that with both layout > >and lyx files in Unicode, [...] > > I know and my patch solves this, did you try it? I do not have access to svn from here, and I guess it won't work wit

Re: [Updated PATCH] accept utf8 in layout files

2007-07-10 Thread Abdelrazak Younes
Jean-Pierre Chrétien wrote: The problems comes from the fact that with both layout and lyx files in Unicode, lyx crashes on this: Assertion triggered in const lyx::docstring lyx::from_ascii(const char*) by failing check "static_cast(*c) < 0x80" in file docstring.cpp:32 Abort I know and my patc

Re: [Updated PATCH] accept utf8 in layout files

2007-07-10 Thread Jean-Pierre Chrétien
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Jean-Marc Lasgouttes wrote: > >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > > Abdelrazak> Why should we? I am probably missing something but... > > Abdelrazak> isn't it enough to tell to the users that their layout >

Re: [Updated PATCH] accept utf8 in layout files

2007-07-09 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Why should we? I am probably missing something but... Abdelrazak> isn't it enough to tell to the users that their layout Abdelrazak> needs to be converted to utf8? Of course we should say it Ab

Re: [Updated PATCH] accept utf8 in layout files

2007-07-09 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Why should we? I am probably missing something but... Abdelrazak> isn't it enough to tell to the users that their layout Abdelrazak> needs to be converted to utf8? Of course we should say it Abdelrazak> big and loud bu

Re: [Updated PATCH] accept utf8 in layout files

2007-07-09 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Here is an updated patch that I actually tested. It Abdelrazak> doesn't crash anymore but it doesn't work well because Abdelrazak> there is a problem with layout files in trunk: I think Abdelra

Re: [Updated PATCH] accept utf8 in layout files

2007-07-09 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Here is an updated patch that I actually tested. It Abdelrazak> doesn't crash anymore but it doesn't work well because Abdelrazak> there is a problem with layout files in trunk: I think Abdelrazak> they are encoded in

Re: [Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Charpentier Philippe wrote: I would like to try your patch but I dont know how to apply it Can you tell me? You'll need to retrieve the latest version of the code with svn (look at http://www.lyx.org/devel/cvs.php for more details). Then something like "svn apply xx

[Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Philippe Charpentier
I would like to test your patch, but I don't understand how to apply it Can you tell me? Thanks PhC

Re: [Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Pavel Sanda
> Can you tell me? http://en.wikipedia.org/wiki/Patch_%28Unix%29#Usage_examples pavel

Re: [Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Abdelrazak Younes
Charpentier Philippe wrote: I would like to try your patch but I dont know how to apply it Can you tell me? You'll need to retrieve the latest version of the code with svn (look at http://www.lyx.org/devel/cvs.php for more details). Then something like "svn apply xxx.patch" should do the tri

[Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Charpentier Philippe
I would like to try your patch but I dont know how to apply it Can you tell me? PhC

[Updated PATCH] accept utf8 in layout files (was Re: Upgrade from 1.4 to 1.5)

2007-07-06 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Abdelrazak Younes wrote: Charpentier Philippe wrote: This was working perfectly until 1.4.x. But now the 1.5 version crash if I want to use one of my layouts (independently of the encoding): non ASCII characters seems forbidden now for the Style name. As these names app