[fpc-pascal] Re: Widestrings length and character iteration

2007-05-10 Thread Christos Chryssochoidis
Daniël Mantione wrote: Op Wed, 9 May 2007, schreef Christos Chryssochoidis: OK, I figured out what happened. The source file was saved in UTF-8 encoding, but I hadn't put in my source file the compiler directive {$CODEPAGE UTF8}. After including this directive in my code almost

Re: [fpc-pascal] Re: Widestrings length and character iteration

2007-05-10 Thread Daniël Mantione
Op Wed, 9 May 2007, schreef Christos Chryssochoidis: I called setCWideStringManager() from my code, but it did not had any effect. A call to utf8encode() is still needed from proper output. It probably means the widestring manager thinks your system is iso-8859-1 encoded. If you think this

[fpc-pascal] Question about TProcess

2007-05-10 Thread Darius Blaszijk
The following piece of code is giving me headaches. When I add the option poUsePipes, the application starts and does not seem to do anything else anymore. It just opens a commandline terminal and that is that. When I leave the option out the application actually starts make and then crashes

Re: [fpc-pascal] Question about TProcess

2007-05-10 Thread Vincent Snijders
Darius Blaszijk schreef: The following piece of code is giving me headaches. When I add the option poUsePipes, the application starts and does not seem to do anything else anymore. It just opens a commandline terminal and that is that. When I leave the option out the application actually

Re: [fpc-pascal] Question about TProcess

2007-05-10 Thread Darius Blaszijk
Thanks Vincent, I did not think of it as there are only about 30lines of output. It works now. Darius Vincent Snijders wrote: Darius Blaszijk schreef: The following piece of code is giving me headaches. When I add the option poUsePipes, the application starts and does not seem to do