Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
libicu-devel /
samples /
translit /
Delete
Unzip
Name
Size
Permission
Date
Action
answers
[ DIR ]
drwxr-xr-x
2026-09-04 10:42
Makefile
638
B
-rw-r--r--
2020-04-22 20:04
README.TXT
3.83
KB
-rw-r--r--
2020-04-22 20:04
main.cpp
3.92
KB
-rw-r--r--
2020-04-22 20:04
translit.sln
1.18
KB
-rw-r--r--
2020-04-22 20:04
translit.vcxproj
9.12
KB
-rw-r--r--
2020-04-22 20:04
translit.vcxproj.filters
1.15
KB
-rw-r--r--
2020-04-22 20:04
unaccent.cpp
1.74
KB
-rw-r--r--
2020-04-22 20:04
unaccent.h
2.9
KB
-rw-r--r--
2020-04-22 20:04
util.cpp
2.24
KB
-rw-r--r--
2020-04-22 20:04
util.h
880
B
-rw-r--r--
2020-04-22 20:04
Save
Rename
/********************************************************************** * © 2016 and later: Unicode, Inc. and others. * License & terms of use: http://www.unicode.org/copyright.html#License ********************************************************************** ********************************************************************** * COPYRIGHT: * Copyright (c) 1999-2003, International Business Machines Corporation and * others. All Rights Reserved. **********************************************************************/ #include "unaccent.h" const char UnaccentTransliterator::fgClassID = 0; /** * Constructor */ UnaccentTransliterator::UnaccentTransliterator() : normalizer("", UNORM_NFD), Transliterator("Unaccent", 0) { } /** * Destructor */ UnaccentTransliterator::~UnaccentTransliterator() { } /** * Remove accents from a character using Normalizer. */ UChar UnaccentTransliterator::unaccent(UChar c) const { UnicodeString str(c); UErrorCode status = U_ZERO_ERROR; UnaccentTransliterator* t = (UnaccentTransliterator*)this; t->normalizer.setText(str, status); if (U_FAILURE(status)) { return c; } return (UChar) t->normalizer.next(); } /** * Implement Transliterator API */ void UnaccentTransliterator::handleTransliterate(Replaceable& text, UTransPosition& index, UBool incremental) const { UnicodeString str("a"); while (index.start < index.limit) { UChar c = text.charAt(index.start); UChar d = unaccent(c); if (c != d) { str.setCharAt(0, d); text.handleReplaceBetween(index.start, index.start+1, str); } index.start++; } }