RE: Lfn.e

new topic     » topic index » view thread      » older message » newer message

It is really strange. Windows and DOS use different code pages, but BOTH @
and _ have the same Hex representation under Windows and under DOS. That is,
@ is Hex 40, and _ is Hex 5F. Hex AE, instead, corresponds to « (Alt-174)
under DOS and under Outlook Express (I in fact generated this character
 here by typing ALT-174), but to a 'registered' symbol (a R within a circle)
under Windows editors.
So it seems that something is wrong with code pages in your PC.
Anyway, please try my "text utilities" programs in the Euphoria Archive. One
of them allows conversion between DOS and Windows normal code pages, but you
can easily change it to convert between any two character sets.
Regards.
----- Original Message -----
From: <bobelia200 at NETZERO.NET>
To: EUforum <EUforum at topica.com>
Sent: Saturday, December 21, 2002 1:35 AM
Subject: Lfn.e



Juergen,

I started writing an app to test Lfn.e and came upon this:

Several files I was trying to process had been saved as .txt from Internet
Explorer and contained the '@' sign in their names.  That is what is shown
in a folder by Windows.
I verified with a disk editor that the '@' sign was #AE on disk.  However,
DOS returns that character as an underscore ( #5F
).   lfn_dir("discov*.txt") returned a list which contained:

"Discover_ Platinum Account Statement 09-26-02.txt"

Note the '_' instead of '@'.  lfn_open() failed to open this file.

This is very likely a code page problem but I don't have time to research
it now. Perhaps Igor could help?  I will mail you the test report.
Thanks,

Bob

P.S.   command.com's "dir" showed it like above; 4DOS, which I use every
day, would only show the alias (short form).

==^^===============================================================
This email was sent to: rforno at tutopia.com





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


>
> ---
>

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu