From: <cod...@gm...> - 2012-04-04 21:05:14
|
Hello, I'd like to use 'unprintable' chars within strings in the config file. (for instance 0x7f is a fulldot on my display). Please let me know if it's already possible to use hex sequences. Otherwise the attached patch may be applied (PICGraphic.c was affected by running indent.sh). With this sequences like '\x41\x42\x43' (== 'ABC') should work and it should behave like 'echo -e': - \x0 and \x00 will be ignored. - Tries to parse two hex digits (if not valid one hex digit) to a char. - If not valid "\x" will be added and the parsing continues. Happy Easter! Marcus -- NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone! Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a |