UTF-8 encode and decode: Difference between revisions

m
imported>Arakov
m (→‎{{header|Wren}}: Minor tidy)
Line 4,358:
=={{header|Wren}}==
The utf8_decode function was translated from the Go entry.
<syntaxhighlight lang="ecmascriptwren">import "./fmt" for Fmt
 
var utf8_encode = Fn.new { |cp| String.fromCodePoint(cp).bytes.toList }
9,490

edits