存档: December, 2007
Ruby不支持中文
一直用Ruby那么久了,但是从来没有像今天一样尴尬。因为我还没有真正意识到ruby不支持Unicode。从接触ruby到现在,都是使用英文,今天偶尔想写个小应用程序来获取一些中文信息,没想到结果是乱码,其实我早应该知道这样的,毕竟不支持Unicode呀。即便如此,我仍然在心里面责备自己太无知了。网上流行了很多包来解决此,而且ruby的作者也说在下一个版本中支持。但是按照ruby这样的速度开发下去,不知道是何年何月呀。 最后再次BS一下自己。
Confach发表于 December 21, 2007 5:29 pm | 留言 |一技之长
最新留言
- TriciaMckee:Do you understand that it's the best time to get the credit loans, which can make your dreams come true.
- E.sc:你提供的信息对我太有用了!太感谢你了!这歌他们非说是顺子的live版,我就记着有个Eng Ver.嘛!哈哈。
- PLAYBOY:大哥你好,我也是湖北的。最近对BlackBerry应用程序的开发很感兴趣,我是一个在校学生,大哥经验丰富,我想问一下,做手机软件开发的话前途怎么样?可以去什么样的公司工作?
- nds roms:Nds roms NDS 9 has the fastest and most complete information among the large-scale of NDS website, which provides the NDS latest games/roms free download and the latest kernel of Flash Card update. Also, DS Happy Box is the world only first user friendly management software.
- wxianfeng:新版本应该是 smtp_settings