Comments
3 comments
-
Hi Oleg,
I've just run some tests on this. If I save the file as Unicode, then ANTS displays it correctly:
If, however, I save it with the Cyrillic codepage, I can reproduce your results. We don't currently allow the user to choose the codepage of the source files, so I would suggest saving as Unicode if you experience problems with character encodings.
Hope that helps,
Robert -
Hi Robert, ok.
But note: VS doesn't ask about codepage and no problem with names.
Regards,
Oleg. -
Hi Oleg,
I just tried re-opening the file I saved with the Cyrillic codepage in VS, and it also got rather confused:
I presume that they must be using the system default codepage when opening files. We've got a bug open on this for ANTS now, but I'm afraid it's unlikely to be fixed before the release of version 3 since we're now effectively in code freeze.
Many thanks,
Robert
Add comment
Please sign in to leave a comment.
Here is used Cyrilliс characters
private void button1_Click(object sender, EventArgs e)
{
йокелемене();
}
private void йокелемене()
{
for (int i = 0; i < 100; i++)
Console.WriteLine("это {0}",i);
}
this is a source text from ANTS "Source code" tab:
private void button1_Click(object sender, EventArgs e)
{
();
}
private void ()
{
for (int i = 0; i < 100; i++)
Console.WriteLine(" {0}",i);
}
Regards,
Oleg.