replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - SDBG variable output with unicode
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SDBG variable output with unicode

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
StamK



Joined: 12 Oct 2016
Posts: 163

PostPosted: Tue Feb 04, 2025 12:37 pm    Post subject: SDBG variable output with unicode Reply with quote

if I use SDBG to visualise the contents of a variable that contains greek characters from a utf-8 file they look garbled up. If I put print statements that go to a cmd console window I can see them properly. Also if I use the /windows command in the compilation (which opens a separate white screen with all output) there the print statements are garbled up.
Is there away to fix these two issues?
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 457
Location: Manchester

PostPosted: Tue Feb 04, 2025 6:19 pm    Post subject: Reply with quote

sdbg, like Fortran I suppose, has no concept of utf8 so the non ASCII characters will come out garbled.

My guess is the console is a utf8 device so that is how it looks correct there. When using /windows ClearWin is just taking strings and printing them with no context. Do you have a simple example?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group