by Jeff Luther » 22 Jan 2008, 17:53
Posted by: Jeff Luther
The old Centura did not support Unicode, Merlin, so the function
SalFilePutStr() does not either (and thus cannot write any -- what I
would call -- the 'extended' ASCII set of chars, like your "e").
I am assuming that the stored file, when read back into CTD *does*
display the "e" with accent aigu in the field or TW column, right? So
all you want is for the file to contain that "é" (or other multi-byte
There was some msg. traffic here on the NG last year about this issue
which included a posting of an APL to convert a normal/ANSI string -->
Unicode. I've zipped a couple msgs. and the APL together for you, FYI.
That should get you started.
The 'secret' to he conversion is the Win API KERNEL32 function
WideCharToMultiByte(), called in the class
clsUnicodeFile.__WideToString() function. Take a look at that.
Jeff @ PC Design
info. & samples: www.JeffLuther.net/unify/
You do not have the required permissions to view the files attached to this post.