"Workspace Do it. File in the lesson source first. Stage 2: Turn characters into UTF-8 bytes." | lab text bytes | lab := LQDataLab open. lab stage: 2; showText. text := 'caf', (Unicode value: 233) asString. bytes := lab encodedTextBytes: text. bytes = #[99 97 102 195 169] ifFalse: [self error: 'Unexpected UTF-8 bytes']. (lab decodeUTF8Bytes: bytes) = text ifFalse: [self error: 'Round trip failed']. lab report: 'UTF-8: cafe-with-accent = 4 characters, 5 bytes; round trip passed'. lab