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

ustring Glib::ustring::uppercase (  )  const

Returns a new UTF-8 string with all characters characters converted to their lowercase equivalent, while honoring the current locale. The resulting string may change in the number of bytes as well as in the number of characters. For instance, the German sharp s "ß" will be replaced by two characters "SS" because there is no capital "ß".

Definition at line 1142 of file ustring.cc.

References ustring().

{
  const ScopedPtr<char> buf (g_utf8_strup(string_.data(), string_.size()));
  return ustring(buf.get());
}


Generated by  Doxygen 1.6.0   Back to index