#ifdef _JBX_UNIX_ UNI2UTF8(pStation, pBuf, 256); string strBuf(&pBuf[0]); StationNm = _env->NewByteArray(strBuf.length()); _env->SetByteArrayRegion(StationNm, 0, strBuf.length(), (jbyte *)strBuf.c_str());