return EncodingUtil.convertToBytes(new char[]{ch}, encoding); } catch (java.io.IOException e) { throw new IOException(IOException.CharacterCodeException, e);
return EncodingUtil.convertToString(bytes, encoding); } catch (UnsupportedEncodingException e) { throw new IOException(IOException.UnsupportedEncodingException, e);
return EncodingUtil.convertToBytes(new char[]{ch}, encoding); } catch (java.io.IOException e) { throw new IOException(IOException.CharacterCodeException, e);
return EncodingUtil.convertToString(bytes, encoding); } catch (UnsupportedEncodingException e) { throw new IOException(IOException.UnsupportedEncodingException, e);
return EncodingUtil.convertToBytes(text.toCharArray(), encoding); } catch (java.io.IOException e) { throw new IOException(IOException.CharacterCodeException, e);
return EncodingUtil.convertToBytes(text.toCharArray(), encoding); } catch (java.io.IOException e) { throw new IOException(IOException.CharacterCodeException, e);