Automatically setting document to UTF8

Is there a setting in PHPStorm that allows any created file to be set automatically to UTF-8 instead of having to manually change it from the File Menu?  Thanks

2 comments
Comment actions Permalink

Please open File | Settings dialog, click File Encodings item and change 'IDE Encoding' setting. You can also specify a certain encoding for an individual directory.

Regards,
Kirill

0
Comment actions Permalink

Kirill,

Thanks for your help. I already did that. I can see Chinese Characters on files.
It is for particular variable under debugger.
For example
$type = htmlspecialchars($_POST['type']);

I check $type value under debugger. It show square box.


Is it possible to the value ?

Thanks!

Chiiwen

0

Please sign in to leave a comment.