Logo Search packages:      
Sourcecode: ardour version File versions  Download package

ustring Glib::ustring::normalize ( NormalizeMode  mode = NORMALIZE_DEFAULT_COMPOSE  )  const

"Normalize" the Unicode character representation of the string.

Definition at line 1135 of file ustring.cc.

References ustring().

{
  const ScopedPtr<char> buf (g_utf8_normalize(string_.data(), string_.size(),
                                              static_cast<GNormalizeMode>(int(mode))));
  return ustring(buf.get());
}


Generated by  Doxygen 1.6.0   Back to index