MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / WarnIfTextContainsVariationSelector

Function WarnIfTextContainsVariationSelector

src/tools/CommandLineMain.cpp:268–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268void WarnIfTextContainsVariationSelector(const char* input, size_t length) {
269 if (variationSelectorWarningShown) {
270 return;
271 }
272 if (UTF8Util::ContainsVariationSelector(input, length)) {
273 PrintVariationSelectorWarningOnce();
274 }
275}
276
277void WarnIfStreamChunkContainsVariationSelector(const char* input,
278 size_t length) {

Callers 1

ConvertLineByModeFunction · 0.85

Calls 2

Tested by

no test coverage detected