Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
例如 QTextCodec *codec = QTextCodec::codecForName("GBK"); 这个是获得GBK编码的QTextCodec。
在中文系统中没问题,但是在英文系统中就很有问题。 想根据系统的不同,使用相对应的codec,如何做?
感觉你想找的是这个 @QTextCodec * QTextCodec::codecForLocale() [static]@