Skip to content

zhanglin-wu/unicode-with-boost-locale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Examples for Unicode with Boost.locale

Overview

The objective of these examples is to demonstrate how to handle unicode (UTF-8, etc.) string conversion and comparison.

Build and run

Linux

git clone https://github.com/zhanglin-wu/unicode-with-boost-locale

cd examples

g++ -g -Wall -o string-converter string-converter.cpp -L/opt/boost/lib -lboost_system -lboost_locale -std=c++11

./string-converter

Docker container (Host: Windows/macOS/Linux)

Prerequisites
Build and debug C++ program in docker

Open the folder in VS Code, execute the command "Remote-Containers: OpenFolder in Container...", and then wait for it to build and run the docker image.

Once you are inside the docker container, you can use the commans that you would use on a Linux system to build and run the examples.

See more details about how to run C++ programs in a docker container at: cairomm-pangomm-on-linux-docker.

References

About

Handle unicode characters with boost.locale

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published