mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Bangle.js: change encoded char set to match Espruino's 8 bit fonts
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
private void uartTx(TransactionBuilder builder, String str) {
|
||||
LOG.info("UART TX: " + str);
|
||||
byte[] bytes;
|
||||
bytes = str.getBytes(StandardCharsets.UTF_8);
|
||||
bytes = str.getBytes(StandardCharsets.ISO_8859_1);
|
||||
for (int i=0;i<bytes.length;i+=20) {
|
||||
int l = bytes.length-i;
|
||||
if (l>20) l=20;
|
||||
|
||||
Reference in New Issue
Block a user