Skip to content

字符编码问题相关 #4

@shihangwei

Description

@shihangwei

我本地输出的Thread.CurrentThread.CurrentCulture.Name为en-GB

我在CoreSpatial.Test里,添加了代码:

// using gb2312
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);

然后得到的DbfEncodingUtil.DefaultEncoding 是null,我不知道为啥,导致我输出中文,一直是乱码。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions