- Feb
- 53
- 1
When I pass output through tee all sorts of chinesse characters appear.
The same without tee would look something like this:
If I use type to look at the saved file it look mostly correct. But it does contain some strange characters as well. And pieces of the path:
And if is use view to look at the file the Chinese characters are back
Now the PC path should not be part of an Android log.
Code:
adb logcat | tee remote.logcat
ⴭⴭⴭⴭ敢楧湮湩景⼠敤⽶潬⽧祳瑳浥䐊圯晩卩慴整慍档湩⡥†㐲⤵›牂慯捤獡剴卓䙉牯䵉ⱓ渠睥獲楳㴠㠭‵汯剤獳㵩ⴠ㌸ⴊⴭⴭⴭⴭ戠来湩楮杮漠搯癥氯杯洯楡൮⽉敒畱獥䍴湯牴汯敬⡲㐠㈲⤴›㘰㈰ㄱ㌴攠瑮牥䤠䕏捸灥楴湯䤊刯煥敵瑳潃瑮潲汬牥
㈴㐲㨩〠〶ㄲ㐱″慣捴佉硅散瑰潩൮⽉敒畱獥䍴湯牴汯敬⡲㐠㈲⤴›㘰㈰ㄱ㌴琠祲愠慧湩䤊刯煥敵瑳潃瑮潲汬牥
㈴㐲㨩〠〶ㄲ㐱″湅整慷瑩㔮〰ര⽄楗楦瑓瑡䵥捡楨敮
㈠㔴㨩映瑥档獒楳湁
䱤湩卫数摥慎楴敶猠湥卒䥓桃湡敧椠瑮湥ⱴ匠浡卥杩慮䱬癥汥潃湵⁴ㄽ
⽄楗楦瑓瑡䵥捡楨敮
㈠㔴㨩映瑥档獒楳湁䱤湩卫数摥慎楴敶猠湥卒䥓桃湡敧椠瑮湥ⱴ匠浡卥杩慮䱬癥汥潃湵⁴㈽
⽉敒畱獥䍴湯牴汯敬⡲㐠㈲⤴›湥整敳摮汁䵬楡൬⽄畃獲牯楗摮睯瑓瑡⡳㐠㈲⤴›汁潬慣整䌠牵潳楗摮睯氠牡敧桴湡搠晥畡瑬瘠污敵楳敺›ㄴ㐹〳ⰴ搠晥畡瑬㈺㤰ㄷ㈵
^C
The same without tee would look something like this:
Code:
>adb logcat
--------- beginning of /dev/log/system
D/WifiStateMachine( 245): BroadcastRSSIForIMS, newrssi =-85 , oldRssi= -84
D/WifiStateMachine( 245): fetchRssiAndLinkSpeedNative send RSSIChange intent, SameSignalLevelCount =1
--------- beginning of /dev/log/main
D/Dhcpcd ( 3318): wlan0: renewing lease of 172.20.50.2
D/Dhcpcd ( 3318): wlan0: sending REQUEST (xid 0x4a76c995), next in 3.91 seconds
D/Dhcpcd ( 3318): acknowledged
D/WifiStateMachine( 245): fetchRssiAndLinkSpeedNative send RSSIChange intent, SameSignalLevelCount =2
If I use type to look at the saved file it look mostly correct. But it does contain some strange characters as well. And pieces of the path:
Code:
>type remote.logcat
ÿþ--------- beginning of /dev/log/system
D/WifiStateMachine( 245): BroadcastRSSIForIMS, newrssi =-85 , oldRssi= -83
--------- beginning of /dev/log/main
I/RequestController( 4224): 06021143 enter IOException
I/RequestController( 4224): 06021143 catch IOException
I/RequestController( 4224): 06021143 try again
I/RequestController( 4224): 06021143 Enter wait.5000
T;C:�鮙暿♦ⶀϽ ᝰЃ ion\1.8\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\;"C:\Work\Projects\XXX-AG";C:\Users\martin.krischik\Applications;C:\Users\martin.krischik\Applicat
ions\Utilities;C:\opt\Java\jdk\1.8.0\bin;C:\opt\android-sdk-window
And if is use view to look at the file the Chinese characters are back
Code:
view remote.logcat
ⴭⴭⴭⴭ敢楧湮湩景⼠敤⽶潬⽧祳瑳浥䐊圯晩卩慴整慍档湩⡥†㐲⤵›牂慯捤獡剴卓䙉牯䵉ⱓ渠睥獲楳㴠㠭‵汯剤獳㵩ⴠ㌸ⴊⴭⴭⴭⴭ戠来湩楮杮漠搯癥氯杯洯楡൮⽉敒畱獥䍴湯牴汯敬⡲㐠㈲⤴›㘰㈰ㄱ㌴攠瑮牥䤠䕏捸灥楴湯䤊刯煥敵瑳潃瑮潲汬牥
㈴㐲㨩〠〶ㄲ㐱″慣捴佉硅散瑰潩൮⽉敒畱獥䍴湯牴汯敬⡲㐠㈲⤴›㘰㈰ㄱ㌴琠祲愠慧湩䤊刯煥敵瑳潃瑮潲汬牥
㈴㐲㨩〠〶ㄲ㐱″湅整慷瑩㔮〰ര⽄楗楦瑓瑡䵥捡楨敮
㈠㔴㨩映瑥档獒楳湁䱤湩卫数摥慎楴敶猠湥卒䥓桃湡敧椠瑮湥ⱴ匠浡卥杩慮䱬癥汥潃湵⁴ㄽ
⽄楗楦瑓瑡䵥捡楨敮
㈠㔴㨩映瑥档獒楳湁䱤湩卫数摥慎楴敶猠湥卒䥓桃湡敧椠瑮湥ⱴ匠浡卥杩慮䱬癥汥潃湵⁴㈽
⽉敒畱獥䍴湯牴汯敬⡲㐠㈲⤴›湥整敳摮汁䵬楡൬⽄畃獲牯楗摮睯瑓瑡⡳㐠㈲⤴›汁潬慣整䌠牵潳楗摮睯氠牡敧桴湡搠晥畡瑬瘠污敵楳敺›ㄴ㐹〳ⰴ搠晥畡瑬㈺㤰ㄷ㈵
Now the PC path should not be part of an Android log.