为什么Integer.parseInt(" \ uD835 \ uDFE8")会失败? [英] Why does Integer.parseInt("\uD835\uDFE8") fail?

查看:598
本文介绍了为什么Integer.parseInt(" \ uD835 \ uDFE8")会失败?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的印象是java支持unicode字符。我做了这个测试,遗憾地发现它失败了。问题是为什么?它是一个错误还是某个文件记录?

I was under the impression that java supports unicode characters. I made this test and sadly found that it fails. The question is why? Is it a bug or somewhere documented?

这篇关于为什么Integer.parseInt(" \ uD835 \ uDFE8")会失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆