For Programmers: Free Programming Magazines  


Home > Archive > MSDN > December 2005 > ISO-8859-5 conversion









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ISO-8859-5 conversion
Tristan

2005-12-13, 7:57 am

Hello.

I have data which is in ISO-8859-5 format (cyrillic).
I need to view it correctly under Windows (ANSI CodePage 1251).

ISO-8859-5 is not a standard codepage on Windows:
http://msdn.microsoft.com/library/d...ml_ref_scpg.asp

I have installed the additional character sets using the "regional settings"
in the control panel.

But unlike an automatic conversion by Windows as with ISO-8859-2 the
characters are not converted correctly.

What has to be done (preferably without coding anything) to achive the same
behaviour as with the ISO-8859-2 conversion?

Thank you.
Thomas Scheidegger [MVP]

2005-12-13, 9:55 pm

> I have data which is in ISO-8859-5 format (cyrillic).
> I need to view it correctly under Windows (ANSI CodePage 1251).


how do you 'view' it? Notepad?



--
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/


Tristan

2005-12-15, 3:55 am

No, I display the data in a programmed GUI Interface.

"Thomas Scheidegger [MVP]" wrote:

>
> how do you 'view' it? Notepad?

Thomas Scheidegger [MVP]

2005-12-17, 3:56 am

>>> I have data which is in ISO-8859-5 format (cyrillic).
> No, I display the data in a programmed GUI Interface.



the 'programmed GUI Interface' must be modified to use ISO-8859-5.
(selectable with ISO-8859-2)

If this 'programmed GUI Interface' is managed Code (C#/VB.NET),
the 'System.Text.Encoding' parameter used for data import has to be modified.


If you want to switch all data conversion for this app to cyrillic,
maybe AppLocale (XP/2003) helps:
http://www.microsoft.com/globaldev/tools/apploc.mspx
but I'm not sure with ISO-8859-5



--
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com