Re: [cc65] scanf again

From: MagerValp <MagerValp1cling.gu.se>
Date: 2004-11-27 16:01:11
>>>>> "UvB" == Ullrich von Bassewitz <uz@musoftware.de> writes:

UvB> Say, I have a file on the disk that has a name using these
UvB> "second" character codes, how can I load it if the keyboard
UvB> generates the "other" character codes?

You can't, unless you use wildcards. A file named 0x41 0x61 0xc1 (aAA)
can be loaded as a?A.

One possible solution would be input translation, if the file is
opened with "r" and not "rb". That's not a good idea for many other
reasons though...

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Nov 27 16:01:14 2004

This archive was generated by hypermail 2.1.8 : 2004-11-27 16:01:24 CET