Hello, Stifu wrote: > Hello, > > I'd like to know if there is a simple way to connect the ten ten (゛) and > maru (°) characters with the preceding character, ie: just how it's supposed > to look. > > For example, this text: > > ト゛ー... > > Should look like that after conversion: > > ドー... > > I naturally looked into the string and CultureInfo methods, but found > nothing. > If no magic solution shows up, I guess I'll have to do everything myself, > like: if (character == '゛') switch(previous_character)... > > Can anyone help? (Mr. Atsushi, perhaps?)
Heh yes ;) Use string normalization: "\u30C8\u3099".Normalize() == '\u30C9' (You might want to use another normalization overload with System.Text.StringNormalization.) Atsushi Eno _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
