Re: [sqlite] Which is most appropriate encoding ?

2006-06-28 Thread RohitPatel9999

 FWIW, if Windows is your only target, UTF-16 is the best choice for 
 you, because wchar_t is in UTF-16 on Windows and you can avoid some 
 string conversion in this case, while still be able to enable the 
 stuff for other OSes as soon as there is a need for it. 

 Alexei Alexandrov 

I think wchar_t will not work on Windows 98. (I do not want to use MS
Unicode layer on Windows98).
I need my app to work on Windows 98 also. 

Rohit

-- 
View this message in context: 
http://www.nabble.com/Which-is-most-appropriate-encoding---tf1780532.html#a5081544
Sent from the SQLite forum at Nabble.com.



Re: [sqlite] Which is most appropriate encoding ?

2006-06-25 Thread Alexei Alexandrov


While developing Win32/MFC Application (with Visual C++ 6.0)
- Application uses SQLite DB for it's data storage
- Application must run on most windows (Windows 98, ME, NT, XP, 2000)
- User should be able to copy Database from one PC to another PC (one PC may
be running Windows 98 and another one Windows 2000 or XP)

In this case, which encoding should be used for SQLite database ?
Default encoding, UTF-8 or UTF-16  



FWIW, if Windows is your only target, UTF-16 is the best choice for
you, because wchar_t is in UTF-16 on Windows and you can avoid some
string conversion in this case, while still be able to enable the
stuff for other OSes as soon as there is a need for it.
--
Alexei Alexandrov


[sqlite] Which is most appropriate encoding ?

2006-06-13 Thread RohitPatel9999

Hi SQLiteUsers,

Need some guidance.

While developing Win32/MFC Application (with Visual C++ 6.0) 
- Application uses SQLite DB for it's data storage
- Application must run on most windows (Windows 98, ME, NT, XP, 2000)
- User should be able to copy Database from one PC to another PC (one PC may
be running Windows 98 and another one Windows 2000 or XP)

In this case, which encoding should be used for SQLite database ?
Default encoding, UTF-8 or UTF-16  

Thanks for any suggestion. 
Rohit

--
View this message in context: 
http://www.nabble.com/Which-is-most-appropriate-encoding---t1780532.html#a4847672
Sent from the SQLite forum at Nabble.com.