de.betabeans.scroogexhtml.converter
Class UnicodeConverter

java.lang.Object
  extended by de.betabeans.scroogexhtml.converter.UnicodeConverter

public final class UnicodeConverter
extends java.lang.Object

Unicode conversion.

Author:
Michael Justin

Method Summary
static char intToChar(int c)
          Convert int to Unicode using the current character set / code page
static void setNodeCharset(int value)
          Store the code page for this character set in the variable "nodeCodepage".
static java.lang.String symbolToUnicode(java.lang.String s)
          Convert a string which uses the 'Symbol' font to Unicode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setNodeCharset

public static void setNodeCharset(int value)
Store the code page for this character set in the variable "nodeCodepage".

Parameters:
value - current text node character set

intToChar

public static char intToChar(int c)
Convert int to Unicode using the current character set / code page

Parameters:
c -
Returns:

symbolToUnicode

public static java.lang.String symbolToUnicode(java.lang.String s)
Convert a string which uses the 'Symbol' font to Unicode.

Parameters:
s - Unicode string.
Returns:
String with encoded Unicode values.


Copyright (c) 1998-2006 BetaSoft Michael Justin. All Rights Reserved.