Sample code for 30+ languages & platforms
PowerBuilder Requires Chilkat v9.5.0.91+

Remove Accent Marks from Chars in String

Removes the accent marks from Latin and Central European chars in a string.

Chilkat PowerBuilder Downloads

PowerBuilder
integer li_rc
long li_Success
string s
oleobject loo_Sb

li_Success = 0

s = "Números para Mí (Student Edition, Spanish)"

loo_Sb = create oleobject
li_rc = loo_Sb.ConnectToNewObject("Chilkat.StringBuilder")
if li_rc < 0 then
    destroy loo_Sb
    MessageBox("Error","Connecting to COM object failed")
    return
end if
li_Success = loo_Sb.Append(s)
loo_Sb.RemoveAccents()

Write-Debug loo_Sb.GetAsString()

//  Output:
//  Numeros para Mi (Student Edition, Spanish)


destroy loo_Sb