make the inifile support unicode in delphi
来源:互联网 发布:淘宝店设计多少钱 编辑:程序博客网 时间:2024/06/08 05:06
Usually, we can't write a unicode string to a normal inifile in delphi, seems not support yet.
ini:=TIniFile.Create(filename); ini.WriteString('mysection', 'myvar', '¿¿¿¿¿¿¿¿ ¿¿¿¿¿¿¿¿ ¿¿¿¿¿ ¿¿¿¿¿ ¿¿¿¿¿¿¿ '); t := ini.ReadString('mysection', 'myvar', 'default'); ini.Free;
But there's a good way to solve this problem. To code as following:
varIni:TMemIniFile;begin{...}Ini := TMemIniFile.Create('test.ini', TEncoding.UTF8);{...}end;
0 0
- make the inifile support unicode in delphi
- Unicode database support in Tiburon for Delphi and C++
- Unicode support in wxWidgets
- Delphi in a Unicode World Part II: New RTL Features and Classes to Support Unicode
- Delphi IniFile 应用详解
- mfc inifile unicode mode读取方法
- Inifile
- inifile
- inifile
- delphi中ini配置文件(Inifile)使用方法
- Unicode in the Windows API
- Delphi出现 No mapping for the Unicode character exists in the target multi-byte code page 处理方法
- Delphi读取文本文件出现 No mapping for the Unicode character exists in the target multi-byte code page
- Delphi in a Unicode World Part I
- Delphi in a Unicode World Part II
- Delphi in a Unicode World Part I
- How to support full Unicode in MySQL databases
- Setup the RSS support in outlook 2003
- 很好用的工具网站
- listview item复用会造成显示不正确
- SQL Server工具TableDiff使用场景
- PowerDesigner15连接数据库报错解决办法Non SQL Error : Could not load class oracle.jdbc.OracleDriver
- Java HashMap的工作原理
- make the inifile support unicode in delphi
- 《FPGA零基础入门到精通视频教程》-第001讲软件的安装
- Android监听软键盘回车事件
- 深度优先遍历与树的前中后序遍历
- Java HashMap的工作原理
- DES加密算法的实现
- Sqlite数据库
- fwetgfrwet
- 《FPGA零基础入门到精通视频教程》-第001b讲软件的破解