---
title: "Lexical elements: Interpreted string literals"
url: https://daily.dev/posts/lexical-elements-interpreted-string-literals-fv2ntzpgu
source_url: https://boldlygo.tech/archive/2023-01-30-lexical-elements-interpreted-string-literals
type: article
source: "Boldly Go"
published: 2026-05-31T07:50:45.109Z
updated: 2026-05-31T09:30:14.859Z
tags: ["golang"]
reading_time: 3
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Lexical elements: Interpreted string literals

**[Boldly Go](https://daily.dev/sources/boldlygo)** · 3 min read · 0 upvotes · 0 comments

## Summary

A deep dive into Go's interpreted string literals, explaining how they differ from raw string literals. Covers escape sequences, Unicode code points, UTF-8 byte representations, and how multiple code points can appear in string literals (unlike rune literals). Includes examples showing equivalent representations of the same string using human-readable characters, Unicode escapes, and explicit UTF-8 bytes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://boldlygo.tech/archive/2023-01-30-lexical-elements-interpreted-string-literals>

---

Tags: [#golang](https://daily.dev/tags/golang)

[View this post on daily.dev](https://daily.dev/posts/lexical-elements-interpreted-string-literals-fv2ntzpgu)
