Home
last modified time | relevance | path

Searched refs:StrToUnicode (Results 1 – 16 of 16) sorted by relevance

/MusicPlayer2/MusicPlayer2/
H A DLastFM.cpp24 theApp.WriteLog(CCommon::StrToUnicode(doc.ErrorStr())); in PrintError()
30 …theApp.WriteLog(emsg ? CCommon::StrToUnicode(emsg, CodeType::UTF8) : L"Failed to get error message… in PrintError()
42 data = CCommon::StrToUnicode(text, CodeType::UTF8); in CorrectData()
112 … const auto& msg = ele->GetText() ? CCommon::StrToUnicode(ele->GetText(), CodeType::UTF8) : L""; in PrintIgnoredMessage()
141 params[L"api_sig"] = CCommon::StrToUnicode(md5.HexDigest()); in GenerateApiSig()
157 return token ? CCommon::StrToUnicode(token, CodeType::UTF8) : L""; in GetToken()
202 ar.session_key = CCommon::StrToUnicode(session_key, CodeType::UTF8); in GetSession()
203 ar.user_name = CCommon::StrToUnicode(session_name, CodeType::UTF8); in GetSession()
309 return CCommon::StrToUnicode(tmp, CodeType::UTF8_NO_BOM); in GetPostData()
384 params[key] = CCommon::StrToUnicode(tmp2); in Scrobble()
H A DAudioTagOld.cpp119 m_song_info.title = CCommon::StrToUnicode(temp, CodeType::AUTO); in GetID3V1Tag()
124 m_song_info.artist = CCommon::StrToUnicode(temp, CodeType::AUTO); in GetID3V1Tag()
129 m_song_info.album = CCommon::StrToUnicode(temp, CodeType::AUTO); in GetID3V1Tag()
139 m_song_info.comment = CCommon::StrToUnicode(temp, CodeType::AUTO); in GetID3V1Tag()
482 tag_info = CCommon::StrToUnicode(tag_info_str, default_code); in GetSpecifiedId3V2Tag()
499 wstring tag_wcs = CCommon::StrToUnicode(tag_str, CodeType::UTF8); in FindOneFlacTag()
596 wstring tag_wcs = CCommon::StrToUnicode(tag_str, CodeType::UTF8); in GetSpecifiedUtf8Tag()
H A DSimpleXML.cpp22 m_xml_content = CCommon::StrToUnicode(xml_str.c_str()); in CSimpleXML()
H A DBassCore.cpp49 device.name = CCommon::StrToUnicode(string(device_info.name)); in InitCore()
51 device.driver = CCommon::StrToUnicode(string(device_info.driver)); in InitCore()
163 m_sfont_name = CCommon::StrToUnicode(sfount_info.name); in InitCore()
215 m_midi_lyric.midi_lyric += CCommon::StrToUnicode(text, CodeType::ANSI); in MidiLyricSync()
219 m_midi_lyric.midi_lyric += CCommon::StrToUnicode(mark.text, CodeType::ANSI); in MidiLyricSync()
303 song_info.title = CCommon::StrToUnicode(mark.text); in GetBASSAudioInfo()
H A DCOSUPlayerHelper.cpp267 return CCommon::StrToUnicode(album_cover_name, CodeType::UTF8); in GetAlbumCoverFileName()
290 return CCommon::StrToUnicode(file_name, CodeType::UTF8); in GetTagItem()
H A DFfmpegCore.cpp586 std::wstring s = CCommon::StrToUnicode(std::string(buf, r), CodeType::UTF8); in LogCallback()
662 l.push_back(CCommon::StrToUnicode(d->device, CodeType::UTF8)); in GetAudioDevices()
666 l.push_back(CCommon::StrToUnicode(t->device, CodeType::UTF8)); in GetAudioDevices()
H A DInternetCommon.cpp64 …result = CCommon::StrToUnicode(string{ (const char*)content.GetString() }, CodeType::UTF8); //获取网页… in GetURL()
140 result = CCommon::StrToUnicode(string{ (const char*)content.GetString() }, CodeType::UTF8); in HttpPost()
H A DPlaylist.cpp199 …wstring current_line_wcs = CCommon::StrToUnicode(current_line, utf8 ? CodeType::UTF8 : CodeType::A… in DisposePlaylistFileLine()
H A DScintillaEditView.cpp499 return CCommon::StrToUnicode(GetCurrentLineText(), CodeType::UTF8_NO_BOM); in GetCurrentLineTextW()
H A DCueFile.cpp38 m_file_content_wcs = CCommon::StrToUnicode(file_content, m_code_type, true); in CCueFile()
H A DIniHelper.cpp23 m_ini_str = CCommon::StrToUnicode(ini_str, CodeType::AUTO); in CIniHelper()
H A DUserUi.cpp32 …m_ui_name = CCommon::StrToUnicode(CTinyXml2Helper::ElementAttribute(root, "name"), CodeType::UTF8_… in LoadFromContents()
633 text->text = CCommon::StrToUnicode(str_text, CodeType::UTF8_NO_BOM); in BuildUiElementFromXmlNode()
H A DCommon.h168 …static wstring StrToUnicode(const string& str, CodeType code_type = CodeType::AUTO, bool auto_utf8…
H A DCommon.cpp510 wstring CCommon::StrToUnicode(const string& str, CodeType code_type, bool auto_utf8) in StrToUnicode() function in CCommon
1797 wstring res_str = CCommon::StrToUnicode(res_data, code_type); in GetTextResource()
H A DLyric.cpp28 wstring lyric_wcs = CCommon::StrToUnicode(lyric_str, m_code_type, true); // 转换成Unicode
H A DTagLibHelper.cpp56 result = CCommon::StrToUnicode(str.to8Bit(), CodeType::ANSI); in TagStringToWstring()