# Sockets (encoding)

**URL:** <https://forum.kirupa.com/t/sockets-encoding/303921>\
**Category:** Uncategorized\
**Created:** [January 29, 2010, 2:29am UTC](https://forum.kirupa.com/t/sockets-encoding/303921 "2010-01-29T02:29:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexWD](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Post date:** [January 29, 2010, 2:29am UTC](https://forum.kirupa.com/t/sockets-encoding/303921/1 "2010-01-29T02:29:02Z")

</div>

Is there any way that I can write just a string of bytes to the socket? I was using writeUTFBytes, but UTF-8 doesn’t support all the characters that I want to send, so I’m kind of lost on what to do…
