Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1135

VSCode Xdebug exception message encoding issue - Korean language

$
0
0

I'm using Xdebug in VSCode on Windows 10.

When I debug PHP source using Xdebug, Character Encoding for Exception Message is weird. My Source File Encoding is UTF-8, and php.ini configuration is also UTF-8.

I don't know why Xdebug emits Exception message broken encoding. I attached some screenshot for Exception Message, first one is VSCode Exception Message and the other is error log in PHP.

I think origin message is "잘못된사용자 id" in second image. For some reason, VSCode or Xdebug can't interpret Korean.

Where's this problem coming from?

exception

exception

I checked character encoding in php.ini, it's UTF-8. And source code file encoding is also UTF-8.

Origin exception message is in Korean. And VSCode or Xdebug can't interpret Korean, so I think one of these can't interpret Korean or UTF-8.

Is there any options to set character encoding in VSCode or Xdebug?


Viewing all articles
Browse latest Browse all 1135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>