On Wed, Jun 20, 2007 at 10:00:54PM +0200, Enrico Forestieri wrote:
> On Wed, Jun 20, 2007 at 09:44:12AM +0100, José Matos wrote:
> > On Wednesday 20 June 2007 00:00:06 Enrico Forestieri wrote:
> > > The attached patch fixes it. José, OK to commit?
> > 
> >   The patch seems right. If you someone to test this and guarantee that it 
> > works (no need to be a developer) it can go in.
> 
> Here is an updated patch that also cures the following startup error
> on *nix/cygwin:
> 
> Error returned from iconv
> EILSEQ An invalid multibyte sequence has been encountered in the input.
> When converting from UTF-8 to UCS-4LE.
> Input: 0x2f 0x74 0x6d 0x70 0x2f 0x6f 0x6c 0xe0 0x2f 0x6c 0x79 0x78 0x5f 0x74 
> 0x6d 0x70 0x64 0x69 0x72 0x32 0x30 0x30 0x30 0x63 0x77 0x73 0x63 0x54 0x6c 
> 0x2f 0x6c 0x79 0x78 0x73 0x6f 0x63 0x6b 0x65 0x74
> 
> and this one on windows:
> 
> Error returned from iconv
> EINVAL An incomplete multibyte sequence has been encountered in the input.
> When converting from UTF-8 to UCS-4LE.
> Input: 0x43 0x3a 0x2f 0x63 0x79 0x67 0x77 0x69 0x6e 0x2f 0x74 0x6d 0x70 0x2f 
> 0x6f 0x6c 0xe0
> 
> when the temp dir has nonascii chars. These errors are triggered by the
> fact that setEnv() and addName() take utf8 strings as input and they are
> instead passed local 8bit encoded strings. I doubt that anyone will test it
> (see here: http://article.gmane.org/gmane.editors.lyx.general/39630)
> so, José, take your responsibility and make a decision ;-)
> I tested the patch and guarantee that it is correct ;-)

This is now bug 3904.
http://bugzilla.lyx.org/show_bug.cgi?id=3904

-- 
Enrico

Reply via email to