以您选择的格式查看文本?
我想查看具有不同编码格式的字符串(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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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.
我使用 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.