Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get started with ICU in C

Tags:

c

unicode

icu

I need to handle unicode strings in C. I have heard that ICU is the appropriate set of libraries to use but I am not having any luck getting started.

So my question: Can anyone provide a link to a good beginners tutorial on using unicode strings with ICU in C

P.S. I have installed libicu44 (under Ubuntu 11.04).

like image 634
jsj Avatar asked Sep 03 '11 16:09

jsj


People also ask

What is ICU C/C++?

The ICU C/C++ project is also called ICU4C when a distinction is necessary. This document describes how to build and install ICU on your machine. For other information about ICU please see the following table of links.

Does ICU4C support C++ programming?

In addition, ICU4C installs several scripts and makefile fragments that help build other code using ICU. For C++, note that there are Recommended Build Options (both for normal use and for ICU as system-level libraries) which are not default simply for compatibility with older ICU-using code.

How do I install ICU-config?

icu-config is installed (by ICU’s make install) into $ (prefix)/bin/icu-config. It can be convenient for trivial, single-file programs that use ICU. For example, you could compile and build a small program with this command line:

What is icu_50 in C++?

ICU C++ APIs are normally defined in a versioned namespace, for example “icu_50”. There is a stable “icu” alias which should be used instead. (Entry point versioning is only to allow for multiple ICU versions linked into one program.


1 Answers

ICU Reference Documentation

Tutorial

like image 130
Sadique Avatar answered Oct 11 '22 02:10

Sadique