majorVersion = Integer.parseInt(osVersion);
try { majorVersion = Integer.parseInt(osVersion); } catch (NumberFormatException exception) {   }
	void setUnicode() {		final String Win95 = "windows 95";		final String Win98 = "windows 98";		final String WinME = "windows me";				final String WinNT = "windows nt";		String osName = System.getProperty("os.name").toLowerCase();		String osVersion = System.getProperty("os.version");		int majorVersion = 0;				if (osVersion != null) {			int majorIndex = osVersion.indexOf('.');			if (majorIndex != -1) {				osVersion = osVersion.substring(0, majorIndex);				majorVersion = Integer.parseInt(osVersion);			}		}		if (osName != null &&			osName.startsWith(Win95) == false &&			osName.startsWith(Win98) == false &&			osName.startsWith(WinME) == false &&			(osName.startsWith(WinNT) == false || majorVersion > 4)) {			WriteUnicode = true;		}		else {			WriteUnicode = false;		}	}