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.


_______________________________________________
Bug-ocrad mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ocrad

Reply via email to