以您选择的格式查看文本?

发布于 2024-12-08 00:59:05 字数 234 浏览 1 评论 0原文

我想查看具有不同编码格式的字符串(Java,在调试下从 Eclipse 复制出来)。有什么好的程序可以查看它们。或者这会起作用吗?

Notepad++ 会在粘贴时将其转换为 Notepad++ 当前设置使用的格式。真正的问题与用户从 Word 中复制带有特殊字符的文本并将其粘贴到文本区域有关。 IE 和 Chrome 似乎都转换了该字段的格式。但这并不是我真正的问题。此时,我只想能够复制字符串的值,将其粘贴到某处并选择要应用的格式。

I want to view a String (Java, copied out of Eclipse under Debug) with different encoding formats. What is a good program with which to view them. Or will that even work?

Notepad++ will convert it upon pasting to whichever format Notepad++ is currently set to use. The real problem has to do with users copying text with special chars out of Word and pasting into a text-area. Somewhere along the line both IE and Chrome seem convert the format of that field. But that is not really my question. At this point, I just want to be able to copy the String's value, paste it somewhere and choose the format to apply.

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

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

发布评论

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

评论(2

百善笑为先 2024-12-15 00:59:05

EditPad Pro for Windows 具有非常全面的编码支持;恕我直言,最适合Windows。

有一个 Pro 版本和一个 lite 版本(如果您只是想免费试用)。

EditPad Pro for Windows has very comprehensive encoding support; the best for Windows IMHO.

There is a Pro version and a lite version if you just want to try it for free.

流绪微梦 2024-12-15 00:59:05

我使用 MadEdit,也可以用作十六进制编辑器。开源,因此免费

http://sourceforge.net/projects/madedit/

请记住,当在 Windows 中复制和粘贴通常是复制字符而不是实际字节。因此,无论您选择什么工具,在粘贴数据之前设置编码都很重要,因为这将在编辑器中相应地设置字节。然后,您将能够查看解释为不同编码的这些字节。

I use MadEdit, works as a hex editor too. Open source and thus free

http://sourceforge.net/projects/madedit/

Keep in mind that when you copy and paste in windows it is usually copying characters and not reaw bytes. So with whatever tool you choose it will be important to have the encoding set before you paste in your data, as that will then set the bytes accordingly in the editor. You will then be able to view those bytes interpreted as different encodings.

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