Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULCreateParms 类

 

UTF8Encoding 属性

指定新数据库应使用 UTF8 字符集还是与归类关联的字符集。

语法
Visual Basic
Public Property UTF8Encoding As Boolean
C#
public bool UTF8Encoding { get; set; }
属性值

如果数据库应使用 UTF8 字符集,则为 true;如果数据库应使用与归类关联的字符集,则为 false。缺省值为 false。

注释

如果要存储与归类相关联的字符集中不包含的字符,请选择使用 UTF8 字符集。例如,如果您想要进行 US 排序,需使用 1252LATIN1 归类创建数据库,但是如果您想要以本地拼写形式存储国际地址,则要将 UTF8Encoding 指定为 true。

对于 Symbian OS 设备上使用的数据库,必须将 UTF8Encoding 设置为 true。

对于 Palm OS 设备上使用的数据库,必须将 UTF8Encoding 保留为 false。

另请参见