# Codepage for XBee modules java library

**URL:** <https://forums.digi.com/t/codepage-for-xbee-modules-java-library/17679>\
**Category:** Edgeport\
**Tags:** java, getbytes, codepage, iso-8859-1\
**Created:** [November 29, 2016, 4:02pm UTC](https://forums.digi.com/t/codepage-for-xbee-modules-java-library/17679 "2016-11-29T16:02:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigorrm](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@rodrigorrm](https://forums.digi.com/u/rodrigorrm)\
**Post date:** [November 29, 2016, 4:02pm UTC](https://forums.digi.com/t/codepage-for-xbee-modules-java-library/17679/1 "2016-11-29T16:02:50Z")

</div>

Hello there,

I foresee the need for using non ASCII characters (i.e. Western languages accented characters) in fields like ID field and thus does XBee Java libraries work with the Java standard codepage: ISO-8859-1? Should not, Which codepage should we use in method getbytes()?

Thank you!

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [April 11, 2017, 3:00pm UTC](https://forums.digi.com/t/codepage-for-xbee-modules-java-library/17679/2 "2017-04-11T15:00:57Z")

</div>

Yes I believe the Java code does but the XBee module does not. The XBee only supports Intel Hex or ASCII characters.
