Sample code for 30+ languages & platforms
Unicode C++

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 Unicode C++ Downloads

Unicode C++
#include <CkStringBuilderW.h>

void ChilkatSample(void)
    {
    bool success = false;

    const wchar_t *s = L"Números para Mí (Student Edition, Spanish)";

    CkStringBuilderW sb;
    success = sb.Append(s);
    sb.RemoveAccents();

    wprintf(L"%s\n",sb.getAsString());

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