* fix an encoding issue with calling adb shell getprop * move code in catch block * add a test * switch to LATIN1 encoding