cake
/
libcasio
Archived
1
1
Fork 0
This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
libcasio/docs/user/character.rst

2.9 KiB

Character encoding and conversions

libcasio has its own portable character encoding conversion, resembling iconv. It supports Unicode transformation formats (UTF-8, UTF-16, UTF-32) and CASIO's proprietary character encoding named FONTCHARACTER according to the SDK it published in 2006 for the fx-9860G.

The character conversion utilities are defined in <libcasio/char.h>, but as usual, including <libcasio.h> for everything is recommended.

Opening and closing a conversion descriptor

The conversion descriptor is the main object that will keep track of the conversion steps and status. Here are the main functions to manage it:

The conversion descriptor type.

Converting formats

Once the conversion descriptor is opened, you can use the following function: