惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
Cloudbric
Cloudbric
C
CERT Recently Published Vulnerability Notes
G
GRAHAM CLULEY
V
Vulnerabilities – Threatpost
C
Cisco Blogs
T
Tenable Blog
P
Privacy International News Feed
T
The Exploit Database - CXSecurity.com
I
Intezer
AWS News Blog
AWS News Blog
IT之家
IT之家
博客园 - 司徒正美
C
Cybersecurity and Infrastructure Security Agency CISA
博客园 - 【当耐特】
The Hacker News
The Hacker News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Spread Privacy
Spread Privacy
S
SegmentFault 最新的问题
博客园 - Franky
人人都是产品经理
人人都是产品经理
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
V
Visual Studio Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
H
Hacker News: Front Page
Latest news
Latest news
Scott Helme
Scott Helme
腾讯CDC
宝玉的分享
宝玉的分享
大猫的无限游戏
大猫的无限游戏
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
A
Arctic Wolf
S
Securelist
雷峰网
雷峰网
The GitHub Blog
The GitHub Blog
Project Zero
Project Zero
Google DeepMind News
Google DeepMind News
P
Palo Alto Networks Blog
F
Fortinet All Blogs
Schneier on Security
Schneier on Security
云风的 BLOG
云风的 BLOG
Security Archives - TechRepublic
Security Archives - TechRepublic
The Last Watchdog
The Last Watchdog
WordPress大学
WordPress大学
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 最新话题
S
Schneier on Security
NISL@THU
NISL@THU
Jina AI
Jina AI
M
MIT News - Artificial intelligence

博客园 - hingman

[已解决]Mac下Anaconda-Navigator闪退问题 [已解决]Mac下运行spyder提示"Python 意外退出" 博客园账号被盗 [转]软件版本命名规范 教你如何找到需要的开源软件 - hingman - 博客园 [转载]SDK相关概念 [转载]HAO123的迷思——谈谈SEO [转载]万能讲话稿 世界各国(地区)货币名称及其进位制 [转]共享软件防破解的实用方法 收集的SEO相关工具&网址 [转载]如何用关键字优化网站? [转载]共享软件作者常用网址 [转载]Support页面中发送信息到邮箱的表单代码 [转载]Google鲜为人知的强大功能 WinHack的开发技术经验(2)-字符编码的使用和转换 [转载]提升网站在GOOGLE中排名的方法 [转载]网站优化之关键字选择 [转载]PayPal中文指南申请及paypal使用详细介绍
WinHack的开发技术经验(1)-使用 Unicode 作为内部字符串处理
hingman · 2006-04-04 · via 博客园 - hingman

WinHack的开发技术经验(1)-使用 Unicode 作为内部字符串处理使用Unicode 作为字符串处理编码是软件走向国际化的必须,让你的软件在无论用户使用什么语言的操作系统下都能工作正常。不知道你的的软件是否采用了Unicode 作为内部编码?

使用Unicode的著名软件:(引用自

http://www.unicode.org/notes/tn12/#ISO19769

  • Microsoft 所有软件 — Windows (including Pocket PC) and applications
  • MacOS X 以及所有应用
  • Symbian (phone/mobile OS)
  • SAP
  • Sybase
  • 浏览器: IE, Mozilla, Opera
  • XML 解析器 (e.g. Apache Xerces)
  • KDE/Qt
  • OpenOffice
  • 现在编程语言:Java,ECMAScript (JavaScript/JScript) , 所有 .Net 语言 (C#, VB.Net ...) , Python 1.6 ,Ada 95, Cobol

    如何使用Unicode 进行开发:

    对于 C++ 开发者:

    《C++ 字符串完全指南》是必读文章,这篇文章带你 认识 C++ 下的所有字符串概念以及相关的字符串类型(如MFC 的 String, COM 的 BSTR,stl 的 string)

    http://www.codeproject.com/string/cppstringguide1.asp
    http://www.codeproject.com/string/cppstringguide2.asp

    如果你使用 MFC的 CString ,这篇文章《CString Management 》讲如何有效使用 MFC 的 CString 来处理Unicode:

    http://www.codeproject.com/string/cstringmgmt.asp

    如果你的程序不依赖于MFC,可以使用IBM的ICU(International Components for Unicode) 开发库,该开发功能强大,你可以去官方主页了解更多:

    http://icu.sourceforge.net/  , 开源而且免费的。

    对于 Delphi 开发者:

    TntWare 控件集

    http://www.tntware.com/delphicontrols/unicode/
    以及
    Dephi Fundamentals 上的Unicode 函数集:http://fundementals.sourceforge.net/unicode.html

    相信一定能满足你的开发需求, 两者都是

    开源而且免费的!