UTF8与UTF16对比char *与什么?有人向我解释这个混乱! [英] UTF8 vs. UTF16 vs. char* vs. what? Someone explain this mess to me!

查看:313
本文介绍了UTF8与UTF16对比char *与什么?有人向我解释这个混乱!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设法忽略所有这多字节字符的东西,但现在我需要做一些UI工作,我知道我的无知在这一领域将赶上我!任何人都可以在几个段落或更少的解释,只是我需要知道,使我可以本地化我的应用程序?我应该使用什么类型(我使用.Net和C / C ++,我需要这个答案为Unix和Windows)。

I've managed to mostly ignore all this multi-byte character stuff, but now I need to do some UI work and I know my ignorance in this area is going to catch up with me! Can anyone explain in a few paragraphs or less just what I need to know so that I can localize my applications? What types should I be using (I use both .Net and C/C++, and I need this answer for both Unix and Windows).

推荐答案

查看Joel Spolsky的 绝对最低限度的每个软件开发人员绝对,积极地必须知道关于Unicode和字符集(无需借口!)

Check out Joel Spolsky's The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)

EDIT 20140523 a YouTube上的a href =https://www.youtube.com/watch?v=MijmeoH9LT4 =nofollow noreferrer>字符,符号和Unicode奇迹 - 这只是在十分钟内,以及一个奇妙的解释的辉煌的黑客是UTF-8

EDIT 20140523: Also, watch Characters, Symbols and the Unicode Miracle by Tom Scott on YouTube - it's just under ten minutes, and a wonderful explanation of the brilliant 'hack' that is UTF-8

这篇关于UTF8与UTF16对比char *与什么?有人向我解释这个混乱!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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