bug-ocrad
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ocrad] bug in printing chars with utf8 format


From: Antonio Diaz Diaz
Subject: Re: [Bug-ocrad] bug in printing chars with utf8 format
Date: Sat, 15 Jul 2006 01:11:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.12) Gecko/20050923

Hello Miguel.

Miguel Hernandez wrote:
Hope you don't mind if I write you in Spanish, i even think you'll be glad if I do.

In my personal mail yes. But this list is read by many people and is supposed to be in English.


Le escribo para comunicarle un posible bug a la hora de imprimir caracteres (la función print de Character) en formato UTF8 ya que en mi máquina (Linux HAL9000 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 i686 athlon i386 GNU/Linux con SuSE 10.1, kde3.5, ejecutando desde konsole) al establecer la opción -F utf8 imprime guiones en lugar de caracteres.

I didn't manage to reproduce the bug. And given that the function `UCS::ucs_to_utf8' can never return a null pointer, I can't see why your workaround works and the original code doesn't, except if the problem is a compiler or library bug (because of the change fputs<-->fprintf).

- Did you try to compile ocrad as distributed with more than one gcc version?
- What version(s) of gcc did you use?
- Did you try some other changes to the code?


Regards.
Antonio.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]