我使用Firebreath创建了一个Chrome扩展:http://slimtext.org而且我遇到了一个问题:该扩展在Windows上不支持中文字符。经过大量的研究,我发现:http://www.boost.org/doc/libs/1_50_0/libs/locale/doc/html/default_encoding_under_windows.html与Firebreath一起使用boost locale
我认为解决方案是使用boost/locale。但https://github.com/firebreath/firebreath-boost项目似乎并不包含boost/locale。 1.50.0分支包含比主分支更新的boost,但它们都不包含boost/locale。
我试着用外部的刺激,或从外部升压复制的区域设置代码,但没有成功。(不能做链接的时候做对环境)
你有些什么建议?我怎样才能将boost locale和Firebreath一起使用?
注意firebreath函数FB :: utf8_to_wstring和FB :: wstring_to_utf8 – taxilian 2013-03-25 04:18:15