Audacity 3.2.0
Namespaces | Functions
CodeConversions.cpp File Reference

Define functions to perform UTF-8 to std::wstring conversions. More...

#include "CodeConversions.h"
#include <locale>
#include <codecvt>
Include dependency graph for CodeConversions.cpp:

Go to the source code of this file.

Namespaces

namespace  audacity
 

Functions

std::string audacity::ToUTF8 (const std::wstring &wstr)
 
std::string audacity::ToUTF8 (const wchar_t *wstr)
 
std::string audacity::ToUTF8 (const wxString &wstr)
 
std::wstring audacity::ToWString (const std::string &str)
 
STRING_UTILS_API std::wstring audacity::ToWString (std::string_view str)
 
std::wstring audacity::ToWString (const char *str)
 
std::wstring audacity::ToWString (const wxString &str)
 
wxString audacity::ToWXString (const std::string &str)
 
STRING_UTILS_API wxString audacity::ToWXString (std::string_view str)
 
STRING_UTILS_API wxString audacity::ToWXString (const char *str)
 
wxString audacity::ToWXString (const std::wstring &str)
 
wxString audacity::ToWXString (std::wstring_view str)
 
wxString audacity::ToWXString (const wchar_t *str)
 

Detailed Description

Define functions to perform UTF-8 to std::wstring conversions.


Audacity: A Digital Audio Editor

Dmitry Vedenko

Definition in file CodeConversions.cpp.