FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mysterious ANSI output

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
HienTau



Joined: 16 Jun 2005
Posts: 12

PostPosted: Thu Jan 25, 2007 1:44 pm    Post subject: mysterious ANSI output Reply with quote

I've written a small app that converts a RTF document (ascii) to a simple unicode bbCode file (std.file.write). A tiny DFL app then opens (std.file.read) this file and displays it in a textbox. Usually this works fine, but I got feedback by a tester running Windows XP, who got this:
Quote:
»Hey Alex, was machst du heute noch?« Thomas kommt von hinten, legt mir einen Arm fest um die Schulter.
Ich will mit den Schultern zucken, kann es aber nicht. »Ich weiß nicht«, antworte ich. »Erstmal Sozialkunde büffeln, dann ein bisschen chillen.«
Lena greift sich Thomasâ?˜ Arm und legt ihn um die eigene Schulter. Sie muss sich auf die Zehenspitzen stellen, um ihren Freund zu küssen. »Du wolltest mit mir ins Einkaufszentrum fahren.«

which is an "ANSI-interpreted" version of the unicode file.
Now, what makes me wonder is the fact, that I've tested the program on other Windows XP and 2000 PCs without any problem.
Do you have any idea (no matter how absurd) what this error could relate to or how I could circumvent it?
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Thu Jan 25, 2007 4:54 pm    Post subject: Re: mysterious ANSI output Reply with quote

I just wrote this page up, http://wiki.dprogramming.com/Dfl/Load8BitText - let me know if it's not what you want.
Back to top
View user's profile Send private message
HienTau



Joined: 16 Jun 2005
Posts: 12

PostPosted: Fri Jan 26, 2007 5:36 pm    Post subject: Reply with quote

Thank you very much for your code. It looks promising and already helped me with a config file. Very Happy
I've submitted a new version of the program and hope the mentioned user will test it again. In case he does I'll post the result here.

HienTau
Back to top
View user's profile Send private message
HienTau



Joined: 16 Jun 2005
Posts: 12

PostPosted: Sat Jan 27, 2007 3:26 pm    Post subject: success Reply with quote

... and it worked. No display problems whatsoever anymore Very Happy
Thanks again for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
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