Hi!
Set the TextInputStream.Encoding to UTF16, this should solve your
problem.
Best,
Marcel
On 05.07.2006, at 08:43, Dominik Fusina - The Captain wrote:
Hi,
I read a Text file (PC). I used a TextInputStream with readLine
method.
But impossible to find a word. The reason is that each char is
coded on 2
bytes, not on 1 byte.
I.e. : "TYPE" is written in HEX mode : 00 54 00 59 00 50 00 45
Of course, I want to read and write a text file with the same
particularity.
Need help...
Thanks.
(easy I think... but:( )
----------------------
RB 2006 PRO
----------------------
RB 5.5.5 on OS X Tiger
----------------------
Dominik Fusina
- France -
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>