mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-13 11:17:33 +01:00
Implement proper HPlus Unicode encoding support and Fixes #781
This commit is contained in:
parent
6ec1555178
commit
9b6cfd686a
@ -829,7 +829,9 @@ public class HPlusSupport extends AbstractBTLEDeviceSupport {
|
|||||||
LOG.error("Could not convert String to Bytes: " + e.getMessage());
|
LOG.error("Could not convert String to Bytes: " + e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (int j = 0; j < cs.length; j++)
|
|
||||||
|
final int j0 = (unicode && i != 0) ? 2 : 0;
|
||||||
|
for (int j = j0; j < cs.length; j++)
|
||||||
outBytes.add(cs[j]);
|
outBytes.add(cs[j]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user