Re[6]: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-20 Thread JoshyFun
Hello FPC-Pascal, Saturday, February 20, 2010, 3:21:51 PM, you wrote: MVC> I fail to see how this can be an FPC problem. MVC> See MVC> http://msdn.microsoft.com/en-us/library/aa365747(VS.85).aspx MVC> and MVC> http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx MVC> For an explanation. I

Re: Re[4]: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-20 Thread Michael Van Canneyt
On Sat, 20 Feb 2010, Tomas Hajny wrote: On Sat, February 20, 2010 01:15, JoshyFun wrote: Hello Tomas, Friday, February 19, 2010, 11:55:39 PM, you wrote: TH> No, this can't work that way, otherwise output of any accented TH> character in one of the Windows codepages would result in the same

Re: Re[4]: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-20 Thread Tomas Hajny
On Sat, February 20, 2010 01:15, JoshyFun wrote: > Hello Tomas, > > Friday, February 19, 2010, 11:55:39 PM, you wrote: > > TH> No, this can't work that way, otherwise output of any accented > TH> character in one of the Windows codepages would result in the same > TH> error. > > Tested the "wrong"

Re[4]: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-19 Thread JoshyFun
Hello Tomas, Friday, February 19, 2010, 11:55:39 PM, you wrote: TH> No, this can't work that way, otherwise output of any accented TH> character in one of the Windows codepages would result in the same TH> error. Tested the "wrong" return of stdout: code page UTF8 - 65001 en Windows Length of s

Re[4]: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-19 Thread JoshyFun
Hello Tomas, Friday, February 19, 2010, 11:55:39 PM, you wrote: TH> No, this can't work that way, otherwise output of any accented TH> character in one of the Windows codepages would result in the same TH> error. Well I do not know the writeln internals, but if writeln writes 7 bytes and windows

Re: Re[2]: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-19 Thread Tomas Hajny
On 19 Feb 10, at 17:27, JoshyFun wrote: > Friday, February 19, 2010, 3:22:15 AM, you wrote: > > LFDAM> Ok, > LFDAM> The steps are : > LFDAM> 1) Change the Font Type at Lucida Console Font : > LFDAM> http://www.conoce3000.com/fig01.jpg > LFDAM> 2) Compile the program with fpc 2.4. : > LFDAM> 3) cha

Re[2]: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-19 Thread JoshyFun
Hello FPC-Pascal, Friday, February 19, 2010, 3:22:15 AM, you wrote: LFDAM> Ok, LFDAM> The steps are : LFDAM> 1) Change the Font Type at Lucida Console Font : LFDAM> http://www.conoce3000.com/fig01.jpg LFDAM> 2) Compile the program with fpc 2.4. : LFDAM> 3) change to UTF8, with chcp 65001 command

Re: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-18 Thread Luis Fernando Del Aguila Mejía
Ok, The steps are : 1) Change the Font Type at Lucida Console Font : http://www.conoce3000.com/fig01.jpg 2) Compile the program with fpc 2.4. : 3) change to UTF8, with chcp 65001 command 4) run the program Step 01 to 04 : http://www.conoce3000.com/fig02.jpg The source code : http://www.conoce300

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

2010-02-18 Thread JoshyFun
Hello FPC-Pascal, Thursday, February 18, 2010, 7:05:44 PM, you wrote: LFDAM> I am not using lazarus, I am using PSPad, gedit, jedit, notepad, etc.. LFDAM> I just wanted to know is whether you can write the source code using UTF8. LFDAM> In linux this simple program, it compiles and runs, but in

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

2010-02-18 Thread Luis Fernando Del Aguila Mejía
If you are doing this in Lazarus by default you are creating a GUI application, so any writeln will raise an error as stdout is closed. I am not using lazarus, I am using PSPad, gedit, jedit, notepad, etc.. I just wanted to know is whether you can write the source code using UTF8. In linux this