4 ms·
I always wondered how the index prefixing impacts RTL language strings.
by paulryanrogers 6y ago
I always wondered how the index prefixing impacts RTL language strings.
- duskwuff 6y agoIt doesn't. LTR/RTL only applies at display time -- the first character of a string is still stored first, regardless of whether it's going to show up on the left or the right side of the screen.
- adolph 6y agoAs I understand it, the bytes are ordered the same (without regarding big vs little endian). The RTL (or LTR) has to do with the visual representation and can be set by a nonprinting character. https://en.wikipedia.org/wiki/Bidirectional_text https://en.wikipedia.org/wiki/Bidirectional_text https://en.wikipedia.org/wiki/Right-to-left_mark https://en.wikipedia.org/wiki/Right-to-left_mark https://betterexplained.com/articles/understanding-big-and-little-endian-byte-order/ https://betterexplained.com/articles/understanding-big-and-l...