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?
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?