$O6 - file import problem
Michael Mantkowski
michaelj at clientrax.com
Sat Dec 21 13:24:28 EST 2013
I use it this way...
Calculate lvSerialTextFile as con(lvDrv,lvDir,'Serial.txt')
Do lvFileObj.$openfile(lvSerialTextFile) Returns lvError
Do lvFileObj.$readcharacter(kUniTypeAuto,lvSerialText) Returns lvError
Do lvFileObj.$closefile()
*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************
-----Original Message-----
From: omnisdev-en-bounces at lists.omnis-dev.com [mailto:omnisdev-en-bounces at lists.omnis-dev.com] On Behalf Of Mischa
Sent: Saturday, December 21, 2013 10:01 AM
To: 'OmnisDev List - English'
Subject: $O6 - file import problem
Dear all,
I want to import a csv file into Studio 6, however having trouble with the encoding. Its native format is UTF-8, however 'Read file as character' results in a strange looking Thai or Chinese character set when imported. $root.$prefs.$importencoding is set to kUniTypeUTF8
When I convert the csv file to ANSI and try to import it (encoding set to AnsiCentralEuropean) Omnis crashes.
Any help would be greatly appreciated!
Mischa
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list