Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
每个平台都有特定的字符集和编码要求。
在 Windows 上使用 UTF-8 编码的数据库时,应向数据库传递宽字符。如果在这些平台上使用 UTF-8 编码,则 UltraLite 会认为非宽字符串参数是 UTF-8 编码,而 UTF-8 编码不是 Windows 上本来使用的字符集。连接字符串是个例外,此时会认为字符串参数在活动代码页中。但是,通过使用宽字符,可以避免这种复杂化。