-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2005 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- JIS codes and the two external forms we support (EUC and Shift-JIS)
package System.WCh_JIS is
-pragma Pure (WCh_JIS);
+ pragma Pure;
function EUC_To_JIS (EUC1, EUC2 : Character) return Wide_Character;
-- Given the two bytes of a EUC representation, return the
-- if the two characters are not a valid EUC encoding.
procedure JIS_To_EUC
- (J : in Wide_Character;
+ (J : Wide_Character;
EUC1 : out Character;
EUC2 : out Character);
-- the input code is assumed to be in an appropriate range.
procedure JIS_To_Shift_JIS
- (J : in Wide_Character;
+ (J : Wide_Character;
SJ1 : out Character;
SJ2 : out Character);
-- Given a wide character code in JIS form, produce the corresponding