Skip to content
Commit 7a934b49 authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen
Browse files

Make UTF-8 a default codec for strings in the non-gui main.

Refer to https://mailman.videolan.org/pipermail/vlmc-devel/2016-March/001672.html

,

"Qt4 doesn't handle strings as UTF-8 in the default settings. According to VideoLan's documentation[1], it says "As a general rules, all character strings passed to LibVLC should be in UTF-8."
Therefore, by setting QTextCodec::setCodecForCStrings, Qt4 will use UTF-8 and the import error will be fixed."

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 6e401dc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment