Sergey Senkov
Sergey Senkov

Reputation: 1540

Non-english characters are not displayed correctly in IntelliJ 14

I have code :

    private static function askFromUser(cardId:uint):void {

        var s:String = "У клиента " + cardId + " произошло задвоение данных.";
        trace(s);
    }

It shows :

[trace] � ������� 436 ��������� ��������� ������.

What is the problem?

Upvotes: 1

Views: 794

Answers (2)

heenenee
heenenee

Reputation: 20135

Your IntelliJ probably does not have the correct File Encoding for that file. The encoding IntelliJ is using should be displayed in the Status Bar near the lower right-hand corner of your IntelliJ window. If you can't find it, this page goes into great detail about changing file encodings in IntelliJ. If you don't know what encoding your file is in, that can be difficult to determine.

I copied and pasted your code into a UTF-8 encoded file in my own IntelliJ and it displayed fine.

Upvotes: 1

harilalkm
harilalkm

Reputation: 456

I don't have experience with Intellij Idea. But i have tried embedding different fonts in flash project. There's a blog post detailing my experience with font embedding . May be that will help you. font emebedding

Upvotes: 0

Related Questions