NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] How to properly adjust UTF-8 in debugger?


Joined: 11 Apr 2009
Posts: 5
Reply with quote
Most of the time I'm working with russian utf-8 codepage and see this picture:



How to fix this problem?
View user's profileFind all posts by sgretschSend private message


Joined: 05 May 2008
Posts: 36
Reply with quote
Same question Smile Output window (php-cli) is also filled with such weird chars Smile

_________________
RU
View user's profileFind all posts by VodochnikSend private messageICQ Number


Joined: 05 May 2008
Posts: 36
Reply with quote
sgretsch, hope u r writing not a spam-spider Wink
Here is the solution:
Tools->Settings->Run&Debug->Debugger code page

Setted it to UTF-8 and voila, my utf-8 vars are displayed correctly Smile



But another thing, if i have no breakpoints, program window (dos window with php.exe) closes and i see no output. I've expected, that output must be displayed in "output" tab, but it doesn't.
Only if program stops on breakpoint i can see an output in "output" window.

IDE Starting debug session (399166169129700027), script: C:\test.php, server: , sapi: cli 14:48:21
Action Debug session finished 14:48:43
IDE CLI session exit code: 0 14:48:48

Dos window is closed, output tab is empty. Is there any way to catch program output except to make DebugBreak before exit? My Program have many exit points...

_________________
RU
View user's profileFind all posts by VodochnikSend private messageICQ Number


Joined: 11 Apr 2009
Posts: 5
Reply with quote
Vodochnik wrote:
sgretsch, hope u r writing not a spam-spider Wink
Here is the solution:
Tools->Settings->Run&Debug->Debugger code page

Setted it to UTF-8 and voila, my utf-8 vars are displayed correctly Smile



Wow! Thanks a lot! Its hard to notice this feature.

PS: No, I'm not writing a spam bot Smile Its a free-lance auction system.
View user's profileFind all posts by sgretschSend private message
[resolved] How to properly adjust UTF-8 in debugger?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic