[ Root System Explorer ]
Location:
Root
/
opt
/
alt
/
alt-nodejs20
/
root
/
usr
/
share
/
doc
/
alt-nodejs20-libicu-devel
/
samples
/
translit
/
answers
+ Folder
+ File
Upload
Editing: unaccent.h
/*********************************************************************** * © 2016 and later: Unicode, Inc. and others. * License & terms of use: http://www.unicode.org/copyright.html *********************************************************************** *********************************************************************** * COPYRIGHT: * Copyright (c) 1999-2002, International Business Machines Corporation and * others. All Rights Reserved. ***********************************************************************/ #include "unicode/translit.h" #include "unicode/normlzr.h" using icu::Normalizer; using icu::Replaceable; using icu::Transliterator; class UnaccentTransliterator : public Transliterator { public: /** * Constructor */ UnaccentTransliterator(); /** * Destructor */ virtual ~UnaccentTransliterator(); UClassID getDynamicClassID() const override; U_I18N_API static UClassID U_EXPORT2 getStaticClassID(); protected: /** * Implement Transliterator API */ void handleTransliterate(Replaceable& text, UTransPosition& index, UBool incremental) const override; private: /** * Unaccent a single character using normalizer. */ char16_t unaccent(char16_t c) const; Normalizer normalizer; };
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 main_1.cpp
FILE
Ren
[EDIT]
DEL
📄 main_2.cpp
FILE
Ren
[EDIT]
DEL
📄 main_3.cpp
FILE
Ren
[EDIT]
DEL
📄 main_4.cpp
FILE
Ren
[EDIT]
DEL
📄 unaccent.cpp
FILE
Ren
[EDIT]
DEL
📄 unaccent.h
FILE
Ren
[EDIT]
DEL