Preference - text encoding

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Preference - text encoding

Post by User_Russian »

From help
The file format is in unicode UTF-8
What if the ini file was created by another program (not PB) and has ascii encoding (national alphabet characters are used) or Unicode?
Preference library cannot load data correctly. It is necessary to add to the OpenPreferences and CreatePreferences functions, the encoding argument (he can be #PB_Ascii, #PB_UTF8 or #PB_Unicode).
AZJIO
Addict
Addict
Posts: 1358
Joined: Sun May 14, 2017 1:48 am

Re: Preference - text encoding

Post by AZJIO »

Here is a related thread
Post Reply