Continue cleaning.

This commit is contained in:
jmsgrogan 2023-01-13 14:29:12 +00:00
parent cd688f608f
commit cb4212d972
67 changed files with 367 additions and 282 deletions

View file

@ -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
{