Java Utililty Methods Native to Unicode

List of utility methods to do Native to Unicode

Description

The list of methods to do Native to Unicode are organized into topic(s).

Method

Stringnative2Unicode(String s)
native Unicode
char c;
int j = 0;
if (s == null || s.length() == 0) {
    return null;
byte[] buffer = new byte[s.length()];
for (int i = 0; i < s.length(); i++) {
    if (s.charAt(i) >= 0x100) {
...
Stringnative2unicode(String s)
nativeunicode
if (s == null || s.length() == 0) {
    return "";
byte abyte0[] = new byte[s.length()];
for (int i = 0; i < s.length(); i++) {
    abyte0[i] = (byte) s.charAt(i);
return new String(abyte0);
...