用于C/C ++的小型开源Unicode库 [英] Small open source Unicode library for C/C++

查看:54
本文介绍了用于C/C ++的小型开源Unicode库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道用于C或C ++的很棒的开源Unicode处理库吗?我看过 ICU ,但它看起来太大了.

Does anyone know of a great small open source Unicode handling library for C or C++? I've looked at ICU, but it seems way too big.

我需要图书馆来支持:

  • 所有常规编码
  • 规范化
  • 查找字符类型-查找是否应在标识符和注释中允许使用字符
  • 验证-识别废话

推荐答案

我查看了UT8-CPP和libiconv,但它们似乎都没有我需要的所有功能.因此,我猜我将只使用ICU,即使它确实很大.我认为有一些方法可以去除不需要的功能和数据,所以我将尝试一下.此页面(在自定义ICU的数据库"下)描述了如何切出一些数据.

I looked at UT8-CPP, and libiconv, and neither seemed to have all the features I needed. So, I guess I'll just use ICU, even though it is really big. I think there are some ways to strip out the unneeded functions and data, so I'll try that. This page (under "Customizing ICU's Data Library") describes how to cut out some of the data.

这篇关于用于C/C ++的小型开源Unicode库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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