majido / clipper

Simple android app to interact with system clipboard service via adb shell
MIT License
404 stars 69 forks source link

Setting Cyrillic text (cp1251) causes incorrect lines to be received in the clipboard #12

Open Baltazar500 opened 3 years ago

Baltazar500 commented 3 years ago

Setting Cyrillic text (cp1251) causes incorrect lines to be received in the clipboard

cat /sdcard/cyrilic-cp1251.txt|am broadcast -a clipper.set -e text "$(cat -)" >/dev/null 2>&1

After setting the cyrillic text (cp1251), I get strange lines on the clipboard :

ʨਫ먶NDROID_ASSETS=/system/app

What's this ? Part of set or env variables?

cyrilic-cp1251.txt