Click here to Skip to main content
15,889,808 members

Comments by Antonio Barros (Top 3 by date)

Antonio Barros 26-Mar-16 13:35pm View    
Thanks for your tip. I already know the IPA code tables. The problem is that I couldn't find in any code table the letter "a" turned with a tilde or "w" with a tilde, but I think that it could be possible to "male them". The CodeProject answer in http://www.codeproject.com/Questions/175452/Dynamicly-add-diacritics-to-characters" is something but I couldn't understand why is not functioning with the letter "w".
Thanks again.
Antonio Barros 26-Mar-16 10:42am View    
Hi, Albin Abel.
Thank you for your post. It was useful to undertand how we can resolve this problem. I've tried to add yo your class the use of tilde above a "w", but I couldn't obtain the result, I don't know why. I only add the last line of the following:

static readonly Dictionary<char, char=""> _lookup = new Dictionary<char, char="">
{
{'\'', '\u0301'},
{'"', '\u0308'},
{'^', '\u0302'},
{'˜', '\u02DC'}
};
and to test I add the last line in the following:
MessageBox.Show(DiacriticMerger.AddDiacritics("u", "^"));
MessageBox.Show(DiacriticMerger.AddDiacritics("e", "\""));
MessageBox.Show(DiacriticMerger.AddDiacritics("w", "˜"));
But the message only displays "w" without the tilde.
What could be the problem? Thank you for all.

António Barros
Antonio Barros 12-Dec-14 12:48pm View    
Thank you very much. It worked fine. It was wonderful, because I've wasted hours looking for a solution. It's wonderful to kave such knowledge. It's very dificul to a newbie and it takes to much time to get there.
Thanks again
A.Barros