Skip to content

使用sql server驱动,获取数据时乱码 #102

Description

@mengyan258

我在获取sql server的uniqueidentifier类型的数据时,乱码了,我go的接收数据类型是[]byte,接收到了后转为string类型时,乱码!以下是乱码信息:Db\u000b��C.A�E\u0005QǪWB,实际上应该是5CD6C26F-DD9E-4713-BBA2-0028E0F8DF47这种样子才对,试过很多转的方法,都没用

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions