---
name: "string/from-codepoints"
module: "strings"
section: "Unicode & Encoding"
---
Construct a string from a list of Unicode codepoint integers. This is the inverse of `string/codepoints` and enables building emoji programmatically by combining codepoints.
```sema
(string/from-codepoints (list 65 66 67)) ; => "ABC"
(string/from-codepoints (list 233)) ; => "Γ©"
```
Build emoji by combining people with ZWJ (8205):
```sema
;; Build a family: π¨ + ZWJ + π© + ZWJ + π§
(string/from-codepoints (list 128104 8205 128105 8205 128103))
;; => π¨βπ©βπ§
;; Build a profession: π© + ZWJ + π»
(string/from-codepoints (list 128105 8205 128187))
;; => π©βπ»
;; Add skin tone: π + modifier
(string/from-codepoints (list 128075 127997))
;; => ππ½
;; Build flags from Regional Indicators (A=127462):
(string/from-codepoints (list 127475 127476))
;; => π³π΄ (NO = Norway)
```
Roundtrip any string through codepoints:
```sema
(string/from-codepoints (string/codepoints "Hello δΈη"))
;; => "Hello δΈη"
```