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.