Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 21 22 package nu.xom; 23 24 import java.io.Writer ; 25 26 36 class ISOThaiWriter extends TextWriter { 37 38 ISOThaiWriter(Writer out, String encoding) { 39 super(out, encoding); 40 } 41 42 45 boolean needsEscaping(char c) { 46 47 if (c < 128) return false; 48 62 switch (c) { 63 case 0x0E01: return false; case 0x0E02: return false; case 0x0E03: return false; case 0x0E04: return false; case 0x0E05: return false; case 0x0E06: return false; case 0x0E07: return false; case 0x0E08: return false; case 0x0E09: return false; case 0x0E0A: return false; case 0x0E0B: return false; case 0x0E0C: return false; case 0x0E0D: return false; case 0x0E0E: return false; case 0x0E0F: return false; case 0x0E10: return false; case 0x0E11: return false; case 0x0E12: return false; case 0x0E13: return false; case 0x0E14: return false; case 0x0E15: return false; case 0x0E16: return false; case 0x0E17: return false; case 0x0E18: return false; case 0x0E19: return false; case 0x0E1A: return false; case 0x0E1B: return false; case 0x0E1C: return false; case 0x0E1D: return false; case 0x0E1E: return false; case 0x0E1F: return false; case 0x0E20: return false; case 0x0E21: return false; case 0x0E22: return false; case 0x0E23: return false; case 0x0E24: return false; case 0x0E25: return false; case 0x0E26: return false; case 0x0E27: return false; case 0x0E28: return false; case 0x0E29: return false; case 0x0E2A: return false; case 0x0E2B: return false; case 0x0E2C: return false; case 0x0E2D: return false; case 0x0E2E: return false; case 0x0E2F: return false; case 0x0E30: return false; case 0x0E31: return false; case 0x0E32: return false; case 0x0E33: return false; case 0x0E34: return false; case 0x0E35: return false; case 0x0E36: return false; case 0x0E37: return false; case 0x0E38: return false; case 0x0E39: return false; case 0x0E3A: return false; } 122 switch (c) { 125 case 0x0E3F: return false; case 0x0E40: return false; case 0x0E41: return false; case 0x0E42: return false; case 0x0E43: return false; case 0x0E44: return false; case 0x0E45: return false; case 0x0E46: return false; case 0x0E47: return false; case 0x0E48: return false; case 0x0E49: return false; case 0x0E4A: return false; case 0x0E4B: return false; case 0x0E4C: return false; case 0x0E4D: return false; case 0x0E4E: return false; case 0x0E4F: return false; case 0x0E50: return false; case 0x0E51: return false; case 0x0E52: return false; case 0x0E53: return false; case 0x0E54: return false; case 0x0E55: return false; case 0x0E56: return false; case 0x0E57: return false; case 0x0E58: return false; case 0x0E59: return false; case 0x0E5A: return false; case 0x0E5B: return false; } 155 156 return true; 157 158 } 159 160 }
| Popular Tags
|