Swedish characters in Debug Consol
2 posts
• Page 1 of 1
Swedish characters in Debug Consol
Hi there!
When I run Start without Debugging or Start Debugging, Visual Studio 2015 + PHP Tools, console does not show any swedish characters.
http://course.easec.se/error.png
I have tried Visual C# code with no problems.
My php.ini file has UTF-8, default_charset = "UTF-8".
I have tried put in header("Content-type: text/html; charset=utf-8"); in my code, with no success.
Any suggestions?
Added: My Visual Studio is configured to use language settings from Windows and has language pack installed.
/Mats
When I run Start without Debugging or Start Debugging, Visual Studio 2015 + PHP Tools, console does not show any swedish characters.
http://course.easec.se/error.png
I have tried Visual C# code with no problems.
My php.ini file has UTF-8, default_charset = "UTF-8".
I have tried put in header("Content-type: text/html; charset=utf-8"); in my code, with no success.
Any suggestions?
Added: My Visual Studio is configured to use language settings from Windows and has language pack installed.
/Mats
- easec
- Posts: 1
- Joined: September 30th, 2016, 9:03 am
Re: Swedish characters in Debug Consol
Hi,
Unfortunately it seams PHP does not respect character encoding when using console output. There are many discussions on this topic like http://stackoverflow.com/questions/1964 ... in-php-cli
Unfortunately it seams PHP does not respect character encoding when using console output. There are many discussions on this topic like http://stackoverflow.com/questions/1964 ... in-php-cli
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 85 guests