代码页值

发布于 2024-07-15 17:37:30 字数 122 浏览 3 评论 0原文

除了 1252 之外,还有哪些其他代码页值可以与 vb.net 中的 getencoding() 一起使用?

System.Text.Encoding.GetEncoding(1252).Getstring()

apart from 1252 what other code page values can be used with getencoding() in vb.net?

System.Text.Encoding.GetEncoding(1252).Getstring()

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不打扰别人 2024-07-22 17:37:30

好吧,您的系统支持的任何代码页。 例如,437 是旧的 DOS 代码页之一,28591 是 ISO-Latin-1。

这是 Microsoft 提供的代码页列表列表,但您应该使用Encoding.GetEncodings 查看您自己的计算机上可用的内容。 我怀疑它并不全面 - 我很确定有一个 EBCDIC 编码之一的代码页,但我看不到它在那里列出。

一般来说,您应该知道传入数据所在的代码页,因此您通常不需要知道其他可用的代码页。

Well, any code page that's supported by your system. 437 is one of the old DOS code pages, for example, and 28591 is ISO-Latin-1.

Here's a list of lists of code pages from Microsoft, but you should use Encoding.GetEncodings to see what's available on your own machine. I suspect it's not comprehensive though - I'm pretty sure there's a code page for one of the EBCDIC encodings, and I can't see it listed there.

Generally though you should know what code page your incoming data is in, so you don't often need to know what other code pages are available.

我乃一代侩神 2024-07-22 17:37:30

这取决于平台。 请参阅 Encoding.GetEncodings

It depends on the platform. See Encoding.GetEncodings.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文