[Qt-interest] character-encoding type of system locale

Chen, Jacob jacob.chen at intel.com
Wed Jun 30 03:30:46 CEST 2010


I did try QTextCodec::codecForLocale()->name(); but as you said, what I got from the return is "system".

I'm writing a subtitle displaying function for a video player; I like to get the system locale to decide what subtitle file to use.

Regards,
Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100630/6e76abfa/attachment.html 


More information about the Qt-interest-old mailing list