Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unicode PHP source files

Tags:

php

unicode

utf-8

For a project I'm currently working on I needed to add some unicode characters to some php file.

So I needed to use unicode encoding of course.

That made me wonder:

What prevents me of using unicode for all my PHP files?

like image 765
PeeHaa Avatar asked Dec 27 '22 22:12

PeeHaa


1 Answers

Nothing prevents you using unicode in all your php files, only if you do you may need to edit your scripts if the unicode setting that is set interferes with the script processing.

like image 175
Basic Avatar answered Jan 04 '23 16:01

Basic