# Unicode scalar literals

**URL:** <https://forums.swift.org/t/unicode-scalar-literals/22224>\
**Category:** Pitches\
**Created:** [March 27, 2019, 5:29pm UTC](https://forums.swift.org/t/unicode-scalar-literals/22224 "2019-03-27T17:29:45Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![lorentey](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/lorentey/32/1299_2.png) [@lorentey](https://forums.swift.org/u/lorentey)\
**Post date:** [March 27, 2019, 6:30pm UTC](https://forums.swift.org/t/unicode-scalar-literals/22224/8 "2019-03-27T18:30:59Z")

</div>

> [@jrose](#):
>
> I'm a negative on single-quoted literals in general at this point. The case I most want to use them is for searching through bytes, which is the controversial Int8/UInt8 case; putting it on Unicode.Scalar _or_ Character doesn't sufficiently improve my actual use case because I can't use those for parsing bytes.

How would a trapping `UnicodeScalar.ascii` property not be a [sufficient improvement for the “searching through bytes” usecase](https://forums.swift.org/t/se-0243-codepoint-and-character-literals/21188/283)?

---

_[View the full topic](https://forums.swift.org/t/unicode-scalar-literals/22224)._
