Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character Sets
Message
 
To
11/09/2014 04:50:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01607355
Message ID:
01607359
Views:
82
This message has been marked as a message which has helped to the initial question of the thread.
>Hi All
>
>I am receiving text (TXT) files from a 3rd party entity. I read the file in using FILETOSTR(), amend it, and then write it out to another TXT file using STRTOFILE(). Someone has now asked me what character set we are using for the output file. How do I find that out or answer this question?
>
>TIA

STRTOFILE() generates pure TXT and uses that charset what is set in Control Panel->Region and Language->Administrative->Current Language for non-Unicode programs.
In most cases it is Windows-1252 (in my case it is Windows-1251).

That is true if you didn't use STRCONV() or API function to convert the chars.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform