[fpc-pascal] Ido not understand UTF8 in Windows console.

Luis Fernando Del Aguila Mejía luis3000 at ec-red.com
Wed Feb 17 22:46:18 CET 2010


Translate Message : English
Ido not understand UTF8 in Windows console.
I wrote the following program, using an editor UTF8 without BOM mark.

{código de página UTF8}
//sin firma Unicode BOM
Begin
 Writeln('code page UTF8 - 65001 en Windows');
 Writeln('camión')
End.

Using the command chcp, change the code page to 65001, the UTF-8 for 
Windows. I compiled the program, and then run and get the following errror:
Runtime error 101 at $00401460
   $00401460
   $004069B1

The same program when compiled and run on linux, no error. works well.
What am I doing wrong?

Original Message Spanish:
No entiendo UTF8 en consola Windows
Yo escribí el siguiente programa, usando un editor UTF8, sin marca de BOM.
Usando el comando chcp, cambio el código de página a 65001, el UTF8 para 
Windows. Compilo el programa, y después lo ejecuto y aparece el siguiente 
error :
El mismo programa, cuando lo compilo y lo ejecuto en linux, no aparece 
ningún error. funciona bien.
¿Qué estoy haciendo mal?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100217/2a006bf5/attachment.html>


More information about the fpc-pascal mailing list