encoding problems

I copy some source files from eclipse to idea9.02, the encoding in eclipse and idea are all utf-8 ,and the string contents can be displayed correctly, but they still can't be compiled ,saying error of 'unclosed string literal'  etc. Please see the details in below screenshot.



Attachment(s):
error.jpg
1 comment
Comment actions Permalink

Hi.

Compiler cannot make each source file with its own encoding, so it takes Project / IDE settings for that. Could you check Settings / File Encodings / IDE encoding and Project encoding? Is there UTF-8, etc.

Regards,
Alexander.

0

Please sign in to leave a comment.