[fpc-pascal] Re: International chars and Codepages...

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Aug 29 16:17:28 CEST 2006


On 29 aug 2006, at 14:56, S.Anõl Yõlmaz wrote:

> I solved the problem, sort of. :-) In your previous post, you had  
> suggested that I might be using FPIDE, and codepage clash between  
> it and Windows would lead to
> such a problem. I was using Scite as my IDE in both Windows and  
> Linux, and it had been setup to use UTF8 already. Then I thought,  
> "What if I use FPIDE instead of Scite?" and voila. The same code,  
> produced perfect result in Windows. (Not tried Linux yet) Turkish  
> characters appeared fine now. (FPC 202)

The reason is that FPIDE probably uses the current console code page.  
The proper way would probably be to save your source in utf-8 and  
installing a widestring manager which converts from utf-8 to the  
current console code page. I don't know how to do that though.


Jonas


More information about the fpc-pascal mailing list