diff options
author | th <th@openoffice.org> | 2000-12-01 09:56:11 +0000 |
---|---|---|
committer | th <th@openoffice.org> | 2000-12-01 09:56:11 +0000 |
commit | c5d04d53e92380ad75aceb88b3f590af743aec12 (patch) | |
tree | 52aae934d003f2edb50a6119064610c1cf946146 /sal | |
parent | 021b74428300f59302c9021ffb85c8aa62d95065 (diff) |
#79960# - Support for JIS-X-0212
Diffstat (limited to 'sal')
-rw-r--r-- | sal/textenc/tcvtjp6.tab | 101 |
1 files changed, 61 insertions, 40 deletions
diff --git a/sal/textenc/tcvtjp6.tab b/sal/textenc/tcvtjp6.tab index af23315d6..639501d8d 100644 --- a/sal/textenc/tcvtjp6.tab +++ b/sal/textenc/tcvtjp6.tab @@ -1,60 +1,60 @@ /************************************************************************* * - * $RCSfile: tcvtjp6.tab,v $ + * $RCSfile: tcvtjp6.tab,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:17:28 $ + * last change: $Author: th $ $Date: 2000-12-01 10:56:11 $ * - * The Contents of this file are made available subject to the terms of - * either of the following licenses + * The Contents of this file are made available subject to the terms of + * either of the following licenses * - * - GNU Lesser General Public License Version 2.1 - * - Sun Industry Standards Source License Version 1.1 + * - GNU Lesser General Public License Version 2.1 + * - Sun Industry Standards Source License Version 1.1 * - * Sun Microsystems Inc., October, 2000 + * Sun Microsystems Inc., October, 2000 * - * GNU Lesser General Public License Version 2.1 - * ============================================= - * Copyright 2000 by Sun Microsystems, Inc. - * 901 San Antonio Road, Palo Alto, CA 94303, USA + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2000 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License version 2.1, as published by the Free Software Foundation. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA * * - * Sun Industry Standards Source License Version 1.1 - * ================================================= - * The contents of this file are subject to the Sun Industry Standards - * Source License Version 1.1 (the "License"); You may not use this file - * except in compliance with the License. You may obtain a copy of the - * License at http://www.openoffice.org/license.html. + * Sun Industry Standards Source License Version 1.1 + * ================================================= + * The contents of this file are subject to the Sun Industry Standards + * Source License Version 1.1 (the "License"); You may not use this file + * except in compliance with the License. You may obtain a copy of the + * License at http://www.openoffice.org/license.html. * - * Software provided under this License is provided on an "AS IS" basis, - * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, - * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS, - * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. - * See the License for the specific provisions governing your rights and - * obligations concerning the Software. + * Software provided under this License is provided on an "AS IS" basis, + * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, + * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS, + * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. + * See the License for the specific provisions governing your rights and + * obligations concerning the Software. * - * The Initial Developer of the Original Code is: Sun Microsystems, Inc.. + * The Initial Developer of the Original Code is: Sun Microsystems, Inc.. * - * Copyright: 2000 by Sun Microsystems, Inc. + * Copyright: 2000 by Sun Microsystems, Inc. * - * All Rights Reserved. + * All Rights Reserved. * - * Contributor(s): _______________________________________ + * Contributor(s): _______________________________________ * * ************************************************************************/ @@ -2754,9 +2754,29 @@ static ImplTextEncodingData aImplJISX0201TextEncodingData = /* ======================================================================= */ -static ImplTextEncodingData aImplJISX0212TextEncodingData = +static ImplTextConverterData aImplJISX0212TextConverterData = { + aJIS0212DBCSHighTab, + NULL, + RTL_UNICODE_CHAR_DEFAULT, +}; + +static ImplTextConverter aImplJISX0212TextConverter = +{ + &aImplJISX0212TextConverterData, + NULL, + ImplUnicodeToJISX0208, // can use same routine with JISX0208 + NULL, + NULL, NULL, + NULL, + NULL, + NULL +}; + +static ImplTextEncodingData aImplJISX0212TextEncodingData = +{ + &aImplJISX0212TextConverter, RTL_TEXTENCODING_JIS_X_0212, 2, 2, 2, 128, @@ -2767,3 +2787,4 @@ static ImplTextEncodingData aImplJISX0212TextEncodingData = RTL_TEXTENCODING_INFO_MULTIBYTE, SCRIPT_JAPANESE, }; + |