<B>encodeSBCS</B>(java.lang.CharSequence&nbsp;chars,
                                                          java.lang.String&nbsp;encoding)
                                                   throws java.nio.charset.CharacterCodingException</PRE>
<DL>
<DD>Encodes <code>chars</code> into a format specified by <code>encoding</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>chars</CODE> - the character sequence<DD><CODE>encoding</CODE> - the encoding type
<DT><B>Returns:</B><DD>encoded data
<DT><B>Throws