Thread: Aura H2O AutoShelf beta
View Single Post
Old 07-01-2020, 02:22 PM   #179
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
An easier workaround is a busybox built with its own unicode handling, but w/ CONFIG_FEATURE_CHECK_UNICODE_IN_ENV enabled, and launched without an UTF-8 locale in LANG/LC_ALL.

Code:
[root@dahlia root]# ./busybox_env ash
[admin@dahlia root]# BLAH="héhé" && echo ${#BLAH} && echo ${BLAH:2} && echo ${BLAH:3}
6
�hé
hé
NiLuJe is offline   Reply With Quote