detecting a string charset
i am looking for the best linux library that will let me detect a string charset. 开发者_运维百科 any idea ?
ICU is a quite good library, you might use ucsdet_detect or ucsdet_detectAll to detect 'possible' matches on the charset of an input buffer.
精彩评论