Sample code for 30+ languages & platforms
JavaScript

Remove Accent Marks from Chars in String

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

Note: The RemoveAccents method was added in Chilkat v9.5.0.91. This example requires Chilkat v9.5.0.91 or greater.

Note
This example is intended for running within a Chilkat.Js embedded JavaScript engine. All Chilkat JavaScript examples require Chilkat v11.4.0 or greater.
JavaScript
var success = false;

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

var sb = new CkStringBuilder();
success = sb.Append(s);
sb.RemoveAccents();

console.log(sb.GetAsString());

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