Esempio n. 1
0
        public void SetJavaValue(String aString, int codepage)
        {
            String stringNT = aString + "\0";

            if (codepage == -1)
            {
                _value = Encoding.UTF8.GetBytes(stringNT);
            }
            else
            {
                _value = CodePageUtil.GetBytesInCodePage(stringNT, codepage);
            }
            //_value = Encoding.GetEncoding(codepage).GetBytes(aString + "\0");
        }