J
Just Test
Guest
Hi folks, Has someone experience with reading/writing/displaying text files from .NET that can be compatible with Progress without damaging text (codepage)? Goal: in Progress environment you set e.g. cpstream 850, cpinternal ISO8859-15. You produce some file with some special local characters. Then you need edit these files in .NET application (C#, VB.NET) make changes and write back so it can be handled in Progress without damaging text. Codpeages are not always fixed so there must some settings for that. What i try: in .NET there is class System.Text.Encoding that can be used for reading/writing files, and Font Charset Property ( The Font Charset Property ) for displaying it. So when i use CP850 for reading/writing files (some kind of cpstream) and set font to ANSI_CHARSET (1252, some kind of cpinternal) results are not identical and compatible (we talk about special characters >= 127). Each combination of cpinternal and cpstream produce in Progress different output file with same text as input, so it looks in .NET there must be used maybe same approach with 2 encodings? But on windows are usually used fixed encoding for display e.g. 1252 (Western European) and only file stream codepages can be changed runtime. Any ideas, solutions to get .NET and Progress codepages "compatible"? Thank you.
Continue reading...
Continue reading...