[Lazarus] DOS charset to UTF-8

2009-10-19 Thread Graeme Geldenhuys
Hi, How to I convert a file that contains text in the DOS charset to UTF-8. I need this to work under Linux and Windows. The DOS charset characters used, are for box drawing and arrows. They currently appear on my system (Linux) as follows: ÄÄÄstatementÄÄÄ -- Regards, - Graeme -

Re: [Lazarus] DOS charset to UTF-8

2009-10-19 Thread Graeme Geldenhuys
On 19/10/2009, Graeme Geldenhuys wrote: > Hi, > > How to I convert a file that contains text in the DOS charset to > UTF-8. I need this to work under Linux and Windows. > > The DOS charset characters used, are for box drawing and arrows. They > currently appear on my system (Linux) as follows:

Re: [Lazarus] DOS charset to UTF-8

2009-10-19 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys : On 19/10/2009, Graeme Geldenhuys wrote: Hi, How to I convert a file that contains text in the DOS charset to UTF-8. I need this to work under Linux and Windows. The DOS charset characters used, are for box drawing and arrows. They currently appear on my syst

Re: [Lazarus] DOS charset to UTF-8

2009-10-19 Thread Graeme Geldenhuys
On 19/10/2009, Mattias Gärtner wrote: > > I added it to lcl/lconvencoding.pas. > This is also used by the IDE context menu. Fantastic! Thanks Mattias for the prompt implementation. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pasca

Re: [Lazarus] DOS charset to UTF-8

2009-10-19 Thread shoKwave
Mattias Gärtner schrieb: Zitat von Graeme Geldenhuys : On 19/10/2009, Graeme Geldenhuys wrote: Hi, How to I convert a file that contains text in the DOS charset to UTF-8. I need this to work under Linux and Windows. The DOS charset characters used, are for box drawing and arrows. They c

Re: [Lazarus] DOS charset to UTF-8

2009-10-19 Thread Graeme Geldenhuys
2009/10/19 shoKwave : > > According to the page > http://msdn.microsoft.com/de-de/goglobal/bb964655%28en-us%29.aspx it should > be: //DOS US According to Unicode.org it's DOS Latin US, so yes, you are close. :-) -- Regards, - Graeme - ___ fpGUI -

Re: [Lazarus] DOS charset to UTF-8

2009-10-19 Thread Graeme Geldenhuys
2009/10/19 Mattias Gärtner : >> >> Is such mappings already implemented in Lazarus somewhere? > > I added it to lcl/lconvencoding.pas. > This is also used by the IDE context menu. Out of interest. Did you manually code the mapping, or is there a tool that you run to generate the Pascal code from