mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 01:55:50 +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());
|
||||
}
|
||||
}
|
||||
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]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user