kai-morich / SimpleUsbTerminal

Android terminal app for devices with a serial / UART interface connected with a USB-to-serial-converter
MIT License
513 stars 189 forks source link

0x20 characters replaced by 0xA0 ? #77

Open tudessan opened 1 month ago

tudessan commented 1 month ago

Hello, I'm using 1.55 release of your Android app on Samsung device. While I'm receiving 0x20 character from the USB Serial in a frame (I'm sure to receive 0x20 character using Display Mode : Hex), when I copy/paste the frame (using Display mode : Text or Terminal) from the terminal into a macro button, I found 0xA0 character instead (I can check it using Edit mode HEX in macro button). I tried unsuccessfully to change Display mode or Charset. Do you have some fix (in Settings) to propose ?

kai-morich commented 1 month ago

spaces are converted to non-breaking spaces (0xA0) to significantly reduce line breaks caused by automatic word wrap.

For now you have to convert back manually.

tudessan commented 1 month ago

Thank you very much for your answer.

I know now where my problem comes from. Have a nice day Emmanuel ----------------De : kai-morich @.>Envoyé : jeudi 29 août 2024 03:06À : kai-morich/SimpleUsbTerminal @.>Cc : tudessan @.>; Author @.>Objet : Re: [kai-morich/SimpleUsbTerminal] 0x20 characters replaced by 0xA0 ? (Issue #77) spaces are converted to non-breaking spaces (0xA0) to significantly reduce line breaks caused by automatic word wrap. For now you have to convert back manually.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>