× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 31 May 2012 09:19, John Allen wrote:
I am attempting to write/create a txt file directly into the IFS the
file contains Turkish characters <<SNIP>>
This file contains Turkish characters such as ÜŞ

It appears using code 1026 these characters are Hex 7F and Hex 7C >

For my test I did the following:
1) Modified Scott's program CH5ASCII that creates and writes some
simple text to a text file
2) Changed the code that creates a new file to specify code page
1026 rather than 819
3) Output some text including a Hex 7F7C

Runs fine, but when the file is opened from the 400 (EDTF) I see a
“@ I was expecting to see ÜŞ

When I open it with Notepad I see gibberish
Ä…™@Ö¤¢‰•k%%É@“–¥…@£ˆ…@¦

Obviously there is something I am missing

Anybody know what I am doing wrong?


Replacing 819 with 1026 is replacing ASCII with EBCDIC encoding. Perhaps 1254 is desired instead?

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.