b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
davidwang (dd) 于 (Wed Feb 20 16:14:03 2008) 提到:
It's like this --
I have a C++ application which will read and parse an input file, then write
the result parsed to database. I need to know the encoding of the input
file to set the NLS_LANG variable. For example, if the file is encoded in
UTF8, NSL_LANG will be set '.UTF8'.
Question is, how I can detect this file is encoded in UTF8 etc. in C++.
Anybody ran into the same problem before?
Many thanks!
☆── |
|