welovewordpress / SublimePhpTidy

Plugin for Sublime Text 2 to format PHP code to meet the WordPress Coding Standards using a modified version of phptidy
GNU General Public License v2.0
109 stars 30 forks source link

phptidy not working in sublime text 2 #35

Open oxk4r01 opened 8 years ago

oxk4r01 commented 8 years ago

When I run phptidy, nothing happens, and I get this error in the console: Traceback (most recent call last): File ".\sublimeplugin.py", line 362, in run File ".\php_tidy.py", line 61, in run UnicodeEncodeError: 'ascii' codec can't encode character u'\xd3' in position 18: ordinal not in range(128) Writing file /C/xampp/htdocs/Oscar/asdfasdf.php with encoding UTF-8

I tried the solution proposed here: https://github.com/welovewordpress/SublimePhpTidy/issues/23 but it didn't work. Moreover my cosole output is similar but not equal to that. I'll Aprecciate some help, thanks in advance.