Sorry, my mistake

It could only be read properly when opened within a browser, Pspad editor, but NOT via Wordpad or notepad. and also not via a default Richedit component

My fault is that I tread this as "normal" ascii text and this produces "faults" or unexpected results; but the question remains: how should I treat these special unicode characters?

any ideas?

regards

Andries
The netherlands

Andries Bos <[EMAIL PROTECTED]> wrote: To: delphi advanced group <[email protected]>
From: Andries Bos <[EMAIL PROTECTED]>
Date: Mon, 29 May 2006 01:10:52 -0700 (PDT)
Subject: [delphi-en] TStringStream and the EURO symbol

    Hello

I use the TStringStream to read an XML file. All works well, except for reading the Euro sign.

From within the file delicered from the customer; the euro sign is $AC . Reading this file within any windows viewer, It a proper E sign. However, within the read string from my xlm parser, it a secial char ( something like a  ----i  ). Exporting a Euro sign will result in a &#x80 and this will be re-imported properly. Viewing a E sign after typing it into a notepad txt, will result in a $80. 

Can I use  a TStringStream via the property DataString to read unicode characters? Browsing the internet, it seems that the char $20AC is to correct way to show the original eurosign.  Should I change my way to read unicode strings/ characters?

Any ideas?

Andries

            
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

[Non-text portions of this message have been removed]

    

  -----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]

             

        SPONSORED LINKS  
                                                    C programming language                                       Computer programming languages                                       Java programming language                                                                     The c programming language                                       C   programming language                                       Concept of programming language                                                                
     
---------------------------------
   YAHOO! GROUPS LINKS

   
    Visit your group "delphi-en" on the web.
   
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

   
---------------------------------


    

           
---------------------------------
Be a chatter box. Enjoy free PC-to-PC calls  with Yahoo! Messenger with Voice.

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]




SPONSORED LINKS
C programming language Computer programming languages Java programming language
The c programming language C programming language Concept of programming language


YAHOO! GROUPS LINKS




Reply via email to