--- aegisub-3.2.2/libaegisub/common/character_count.cpp~ 2014-12-08 01:07:09.000000000 +0100 +++ aegisub-3.2.2/libaegisub/common/character_count.cpp 2019-04-15 08:12:10.451191386 +0200 @@ -36,7 +36,7 @@ static std::once_flag token; std::call_once(token, [&] { UErrorCode status = U_ZERO_ERROR; - bi.reset(BreakIterator::createCharacterInstance(Locale::getDefault(), status)); + bi.reset(icu::BreakIterator::createCharacterInstance(icu::Locale::getDefault(), status)); if (U_FAILURE(status)) throw agi::InternalError("Failed to create character iterator"); }); @@ -58,7 +58,7 @@ size_t count = 0; auto pos = character_bi.first(); - for (auto end = character_bi.next(); end != BreakIterator::DONE; pos = end, end = character_bi.next()) { + for (auto end = character_bi.next(); end != icu::BreakIterator::DONE; pos = end, end = character_bi.next()) { if (!mask) ++count; else { @@ -143,7 +143,7 @@ auto& bi = get_break_iterator(&str[0], str.size()); for (auto pos = bi.first(), end = bi.next(); ; --n, pos = end, end = bi.next()) { - if (end == BreakIterator::DONE) + if (end == icu::BreakIterator::DONE) return str.size(); if (n == 0) return pos; --- aegisub-3.2.2/src/utils.cpp~ 2019-04-15 08:06:15.502668259 +0200 +++ aegisub-3.2.2/src/utils.cpp 2019-04-15 09:01:36.733106091 +0200 @@ -265,9 +265,9 @@ } wxString LocalizedLanguageName(wxString const& lang) { - Locale iculoc(lang.c_str()); + icu::Locale iculoc(lang.c_str()); if (!iculoc.isBogus()) { - UnicodeString ustr; + icu::UnicodeString ustr; iculoc.getDisplayName(iculoc, ustr); #ifdef _MSC_VER return wxString(ustr.getBuffer());