From 4e35c379aa63b197110193ce134dd3b26cff0644 Mon Sep 17 00:00:00 2001 From: Minh Ngo Date: Mon, 2 Sep 2013 13:33:58 +0300 Subject: Possible fixes encoding in the VLC library path. If it's in the UTF-8 encoding. Change-Id: I938341e0ae5851b1c5301cd11042f4056bbe8e05 --- avmedia/source/vlc/wrapper/SymbolLoader.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avmedia') diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx index 1835e4386277..ae4cf668d740 100644 --- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx +++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx @@ -48,7 +48,7 @@ namespace if ( ::RegQueryValueEx( hKey, _T( "InstallDir" ), NULL, &dwType, ( LPBYTE )arCurrent, &dwCurrentSize ) == ERROR_SUCCESS ) { ::RegCloseKey( hKey ); - return OUString::createFromAscii( arCurrent ) + "/"; + return OUString( arCurrent, MAX_PATH, rtl_TextEncoding, RTL_TEXTENCODING_UTF8 ) + "/"; } ::RegCloseKey( hKey ); -- cgit