Continue cleaning.
This commit is contained in:
parent
cd688f608f
commit
cb4212d972
67 changed files with 367 additions and 282 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "LatexSymbols.h"
|
||||
|
||||
#include "StringUtils.h"
|
||||
#include "UnicodeUtils.h"
|
||||
|
||||
std::unordered_map<std::string, std::wstring> LatexSymbolLookup::mSymbols = {
|
||||
{"Psi", L"\u03A8"},
|
||||
|
@ -14,7 +14,7 @@ std::optional<std::string> LatexSymbolLookup::getSymbolUtf8(const std::string& t
|
|||
{
|
||||
if (auto entry = getSymbolUtf16(tag); entry)
|
||||
{
|
||||
return StringUtils::convert(*entry);
|
||||
return UnicodeUtils::utf16ToUtf8String(*entry);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue