cStringText to convert; page defaults to empty.
AdvPL GuideFwNoAccent([cString]) --> cStringRemoves accents from a string.
Returns unaccented text under the function implementation. Different names can collapse to the same key, so do not replace unique identifiers or original names without a rule. This example compares a simple word with prepared literal/source encoding. It promises neither universal Unicode normalization nor transliteration of every alphabet. (Sources: refs. 1–1.)
FwNoAccent([cString]) --> cStringcStringText to convert; page defaults to empty.
Unaccented string.
#Include "Protheus.ch"
User Function Ed440()
// Check source encoding before compiling the literal.
ConOut(FwNoAccent("café"))
Return NilExpected text: cafe. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.