Classic ASP
Classic ASP
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.
Chilkat Classic ASP Downloads
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
success = 0
s = "Números para Mí (Student Edition, Spanish)"
set sb = Server.CreateObject("Chilkat.StringBuilder")
success = sb.Append(s)
success = sb.RemoveAccents()
Response.Write "<pre>" & Server.HTMLEncode( sb.GetAsString()) & "</pre>"
' Output:
' Numeros para Mi (Student Edition, Spanish)
%>
</body>
</html>