How can we help you today? How can we help you today?

Hmm...pay attention to this...

this is a source text from working sample:
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.
Oleg
0

Comments

3 comments

  • Robert C
    Hi Oleg,

    I've just run some tests on this. If I save the file as Unicode, then ANTS displays it correctly:

    ANTSUnicodeText.gif

    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
    Robert C
    0
  • Oleg
    Hi Robert, ok.
    But note: VS doesn't ask about codepage and no problem with names.

    Regards,
    Oleg.
    Oleg
    0
  • Robert C
    Hi Oleg,

    I just tried re-opening the file I saved with the Cyrillic codepage in VS, and it also got rather confused:

    VSCyrillicCodepage.gif

    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
    Robert C
    0

Add comment

Please sign in to leave a comment.