junidecode/src/main/java/net/sf/junidecode/X00.java

295 lines
7.7 KiB
Java
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* Copyright (c) 2009, Giuseppe Cardone
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the author nor the names of the contributors may be
* used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY GIUSEPPE CARDONE ''AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL GIUSEPPE CARDONE BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
package net.sf.junidecode;
/**
* Character map for Unicode characters with codepoint U+00xx.
* @author Giuseppe Cardone
* @version 0.1
*/
class X00 {
public static final String[] map = new String[]{
new String("" + (char) 0x00), // 0x00
new String("" + (char) 0x01), // 0x01
new String("" + (char) 0x02), // 0x02
new String("" + (char) 0x03), // 0x03
new String("" + (char) 0x04), // 0x04
new String("" + (char) 0x05), // 0x05
new String("" + (char) 0x06), // 0x06
new String("" + (char) 0x07), // 0x07
new String("" + (char) 0x08), // 0x08
new String("" + (char) 0x09), // 0x09
new String("" + (char) 0x0a), // 0x0a
new String("" + (char) 0x0b), // 0x0b
new String("" + (char) 0x0c), // 0x0c
new String("" + (char) 0x0d), // 0x0d
new String("" + (char) 0x0e), // 0x0e
new String("" + (char) 0x0f), // 0x0f
new String("" + (char) 0x10), // 0x10
new String("" + (char) 0x11), // 0x11
new String("" + (char) 0x12), // 0x12
new String("" + (char) 0x13), // 0x13
new String("" + (char) 0x14), // 0x14
new String("" + (char) 0x15), // 0x15
new String("" + (char) 0x16), // 0x16
new String("" + (char) 0x17), // 0x17
new String("" + (char) 0x18), // 0x18
new String("" + (char) 0x19), // 0x19
new String("" + (char) 0x1a), // 0x1a
new String("" + (char) 0x1b), // 0x1b
new String("" + (char) 0x1c), // 0x1c
new String("" + (char) 0x1d), // 0x1d
new String("" + (char) 0x1e), // 0x1e
new String("" + (char) 0x1f), // 0x1f
" ", // 0x20
"!", // 0x21
"\"", // 0x22
"#", // 0x23
"$", // 0x24
"%", // 0x25
"&", // 0x26
"\'", // 0x27
"(", // 0x28
")", // 0x29
"*", // 0x2a
"+", // 0x2b
",", // 0x2c
"-", // 0x2d
".", // 0x2e
"/", // 0x2f
"0", // 0x30
"1", // 0x31
"2", // 0x32
"3", // 0x33
"4", // 0x34
"5", // 0x35
"6", // 0x36
"7", // 0x37
"8", // 0x38
"9", // 0x39
":", // 0x3a
";", // 0x3b
"<", // 0x3c
"=", // 0x3d
">", // 0x3e
"?", // 0x3f
"@", // 0x40
"A", // 0x41
"B", // 0x42
"C", // 0x43
"D", // 0x44
"E", // 0x45
"F", // 0x46
"G", // 0x47
"H", // 0x48
"I", // 0x49
"J", // 0x4a
"K", // 0x4b
"L", // 0x4c
"M", // 0x4d
"N", // 0x4e
"O", // 0x4f
"P", // 0x50
"Q", // 0x51
"R", // 0x52
"S", // 0x53
"T", // 0x54
"U", // 0x55
"V", // 0x56
"W", // 0x57
"X", // 0x58
"Y", // 0x59
"Z", // 0x5a
"]", // 0x5b
"\\", // 0x5c
"]", // 0x5d
"^", // 0x5e
"_", // 0x5f
"`", // 0x60
"a", // 0x61
"b", // 0x62
"c", // 0x63
"d", // 0x64
"e", // 0x65
"f", // 0x66
"g", // 0x67
"h", // 0x68
"i", // 0x69
"j", // 0x6a
"k", // 0x6b
"l", // 0x6c
"m", // 0x6d
"n", // 0x6e
"o", // 0x6f
"p", // 0x70
"q", // 0x71
"r", // 0x72
"s", // 0x73
"t", // 0x74
"u", // 0x75
"v", // 0x76
"w", // 0x77
"x", // 0x78
"y", // 0x79
"z", // 0x7a
"{", // 0x7b
"|", // 0x7c
"}", // 0x7d
"~", // 0x7e
"", // 0x7f
"", // 0x80
"", // 0x81
"", // 0x82
"", // 0x83
"", // 0x84
"", // 0x85
"", // 0x86
"", // 0x87
"", // 0x88
"", // 0x89
"", // 0x8a
"", // 0x8b
"", // 0x8c
"", // 0x8d
"", // 0x8e
"", // 0x8f
"", // 0x90
"", // 0x91
"", // 0x92
"", // 0x93
"", // 0x94
"", // 0x95
"", // 0x96
"", // 0x97
"", // 0x98
"", // 0x99
"", // 0x9a
"", // 0x9b
"", // 0x9c
"", // 0x9d
"", // 0x9e
"", // 0x9f
" ", // 0xa0
"!", // 0xa1
"C/", // 0xa2
"PS", // 0xa3
"$?", // 0xa4
"Y=", // 0xa5
"|", // 0xa6
"SS", // 0xa7
"\"", // 0xa8
"(c)", // 0xa9
"a", // 0xaa
"<<", // 0xab
"!", // 0xac
"", // 0xad
"(r)", // 0xae
"-", // 0xaf
"deg", // 0xb0
"+-", // 0xb1
"2", // 0xb2
"3", // 0xb3
"\'", // 0xb4
"u", // 0xb5
"P", // 0xb6
"*", // 0xb7
",", // 0xb8
"1", // 0xb9
"o", // 0xba
">>", // 0xbb
"1/4", // 0xbc
"1/2", // 0xbd
"3/4", // 0xbe
"?", // 0xbf
"A", // 0xc0
"A", // 0xc1
"A", // 0xc2
"A", // 0xc3
"A", // 0xc4
"A", // 0xc5
"AE", // 0xc6
"C", // 0xc7
"E", // 0xc8
"E", // 0xc9
"E", // 0xca
"E", // 0xcb
"I", // 0xcc
"I", // 0xcd
"I", // 0xce
"I", // 0xcf
"D", // 0xd0
"N", // 0xd1
"O", // 0xd2
"O", // 0xd3
"O", // 0xd4
"O", // 0xd5
"O", // 0xd6
"x", // 0xd7
"O", // 0xd8
"U", // 0xd9
"U", // 0xda
"U", // 0xdb
"U", // 0xdc
"U", // 0xdd
"Th", // 0xde
"ss", // 0xdf
"a", // 0xe0
"a", // 0xe1
"a", // 0xe2
"a", // 0xe3
"a", // 0xe4
"a", // 0xe5
"ae", // 0xe6
"c", // 0xe7
"e", // 0xe8
"e", // 0xe9
"e", // 0xea
"e", // 0xeb
"i", // 0xec
"i", // 0xed
"i", // 0xee
"i", // 0xef
"d", // 0xf0
"n", // 0xf1
"o", // 0xf2
"o", // 0xf3
"o", // 0xf4
"o", // 0xf5
"o", // 0xf6
"/", // 0xf7
"o", // 0xf8
"u", // 0xf9
"u", // 0xfa
"u", // 0xfb
"u", // 0xfc
"y", // 0xfd
"th", // 0xfe
"y" // 0xff
};
}