I have the line imported correctly, except non English
characters were messed up.

3|      2|      Po Chai Pills|  Bao Ji Wan|     ä¿ˇæµ⁄丸|      Li Chung
Shing Tong, Hong Kong

I also use DefineEncoding()

rec.Column( "cProduct") =
DefineEncoding(NthField(line, charDelim, 5))

Well, you should define the encoding of the string before you try any manipulations (NthField, Mid(), etc) so RB can understand how to interpret the bytes in the data. So in your code, you should know (or define) the encoding of the variable 'line' before trying NthField on it.

Eric M. Williams
Oxalyn Software
http://software.oxalyn.com/

AE Monitor
http://software.oxalyn.com/AEMonitor/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to