From: dennison@telepath.com
Subject: Re: DOS/Win95 file names
Date: 1999/06/11
Date: 1999-06-11T00:00:00+00:00 [thread overview]
Message-ID: <7jraid$isb$1@nnrp1.deja.com> (raw)
In-Reply-To: 3762f569.682876310@news.dsuper.net
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 794 bytes --]
In article <3762f569.682876310@news.dsuper.net>,
fluffy_pop@dsuper.net wrote:
> On Fri, 11 Jun 1999 09:03:41 +0200, in comp.lang.ada you wrote:
>
> >...
> >Windows... A possibility is to have an explicit
> >translation table;
>
> I guess this is what you mean:
> DOS Windows
> -------------- ---------------
> Alt+130 => '�' Alt+0130 => '�'
> Alt+233 => '_' Alt+0233 => '�'
>
> FUNCTION ISO ( p_car : character ) RETURN character IS
> WITH Ada.Characters.Latin_1; USE Ada.Characters.Latin_1;
> ISO_Char : character;
> BEGIN
> CASE character'pos(p_car) IS
Rather than writing this function manually, you should probably look
into using a character mapping from Ada.Strings.Maps.
--
T.E.D.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
next prev parent reply other threads:[~1999-06-11 0:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-10 0:00 DOS/Win95 file names fluffy_pop
1999-06-11 0:00 ` Gautier
1999-06-11 0:00 ` fluffy_pop
1999-06-11 0:00 ` dennison [this message]
1999-06-11 0:00 ` fluffy_pop
1999-06-12 0:00 ` Robert Dewar
1999-06-11 0:00 ` Robert Dewar
1999-06-11 0:00 ` Pascal Obry
1999-06-12 0:00 ` jerry
1999-06-12 0:00 ` fluffy_pop
1999-06-13 0:00 ` jerry
1999-06-13 0:00 ` fluffy_puff
1999-06-13 0:00 ` Matthew Heaney
1999-06-14 0:00 ` fluffy_puff
1999-06-14 0:00 ` fluffy_puff
1999-06-13 0:00 ` fluffy_puff
1999-06-12 0:00 ` Mario Klebsch
1999-06-12 0:00 ` fluffy_pop
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox