Boost logo

Boost Users :

From: Darren Cook (darren_at_[hidden])
Date: 2003-12-12 17:39:22

> character... ). So I thinks I have to parse bytes by pair and try to identify
> them as Shift-JIS when it is the case. Any idea of a function or program that
> does it?

The O'Reilly CJKV book is very helpful. Chapter 9 contains algorithms for
encoding detection. You can get example code here:

(see the DetectCodeType() function).


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at