Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Debugger output parsing
MortenMacFly:
--- Quote from: mandrav on May 24, 2006, 12:38:50 pm ---Can you try the attached patch?
--- End quote ---
...I tried and the output changed to: [see image].
I'll do further research on that, but later today (there is so much work I have to do before here at work...). I'll report back...
With regards, Morten.
[attachment deleted by admin]
tiwag:
i get the same result as Morten when i use file encoding "System standard" which defaults to WINDOWS-1252
when i use UTF-8, the the result in the debugger pane is correct, but the characters sent to stdout are garbage (obviously)
mandrav:
I don't think we can have a solution for this, at least not an easy one...
MortenMacFly:
--- Quote from: mandrav on May 24, 2006, 03:11:21 pm ---I don't think we can have a solution for this, at least not an easy one...
--- End quote ---
...I wonder what makes you think so? :?:
BTW: If I switch to UTF-8 it workes fine here, too. At least that's an information one can give for such purposes.
I've compared the hex-dump of both files. This is for Windows-1252:
--- Code: ---3D 20 22 48 E4 68 E4 22 │ 3B 0A 0A 20 20 73 74 64 -> [= "Hähä";◙◙ std]
--- End code ---
...and this for UTF-8:
--- Code: ---3D 20 22 48 C3 A4 68 C3 │ A4 22 3B 0A 0A 20 20 73 -> [= "Hähä";◙◙ s]
--- End code ---
mandrav: You said it's working for you with Windows-1253. What hex values do you have in that case?
Edit: Sorry, I misunderstood:
--- Quote from: mandrav on May 24, 2006, 12:38:50 pm ---I 'm using WINDOWS-1253 but I couldn't even see the file so I switched to UTF8.
--- End quote ---
This makes things obvious...
Navigation
[0] Message Index
[*] Previous page
Go to full version