# What is \`Char\`?

**URL:** <https://discourse.julialang.org/t/what-is-char/8480>\
**Category:** General Usage\
**Created:** [January 19, 2018, 4:48pm UTC](https://discourse.julialang.org/t/what-is-char/8480 "2018-01-19T16:48:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ScottPJones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scottpjones/32/146_2.png) [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Post date:** [January 19, 2018, 9:09pm UTC](https://discourse.julialang.org/t/what-is-char/8480/4 "2018-01-19T21:09:05Z")

</div>

You are casting a pointer to `UInt8` into `Char`, which is a 32-bit quantity.  
That’s why you are seeing the 3 characters packed into that one 32-bit word (along with a trailing \0).

In master, `Char` is not even simply a Unicode code point (i.e. `0-0xd7ff`, `0xe000-0x10ffff`) anymore,  
it is a rather complex method of packing a 1 to 4 byte UTF-8 encoding of a Unicode code point into a 32-bit value, and also allowing storing invalid UTF-8 1 to 4 byte sequences.

---

_[View the full topic](https://discourse.julialang.org/t/what-is-char/8480)._
