How to include International Phonetic Alphabet(IPA) symbols in C# programming.
Part of the program I tried so far given below
for (int i = 0; i < str.Length; i++ )
{
char s = str.ToCharArray()[i];
if (s == 'y')
{
ss[i] = '?';
}
else if (s == 'a¯')
{
ss[i] = 'a';
}
else
{
ss[i] = str.ToCharArray()[i];
}
}
Here an error is displayed for the code red marked as 'Too many characters literal'.
Please suggest me what to do? Should I declare IPA symbols before writing the above code?If so how?

Tom MohanRank #912 · 2.3K reputationPosted Feb 26, 2015, 9:08 PM EST
If its useful, mark it as "Accept Answer"
Manabendra Borthakur11 reputationPosted Feb 27, 2015, 4:39 AM EST