|
|
|
|
|
by sluu99
4787 days ago
|
|
TL;DR: think of string as tuple of numbers. some are bytes, some are integers. if you want to transform those numbers into a particular encoding (e.g. UTF-8, CP-1252) then that's a different story. EDIT: I know the article went all out about character abstraction, that why i said "some are bytes, some are integers" |
|
For situations where a concrete byte representation is needed, you can get one by encoding the string.