unicode: upgrade and promote use of charset_encoder

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
2023-09-22 13:02:27 +02:00
parent cb010bd72e
commit 921d235459
2 changed files with 76 additions and 19 deletions

View File

@@ -8,6 +8,9 @@
using namespace std;
#ifdef _WIN32
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
#else
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
namespace UnitTests
@@ -86,3 +89,7 @@ namespace UnitTests
}
};
}
#ifndef _WIN32
#pragma GCC diagnostic pop
#endif