Skip to content

Conversation

@LossyDragon
Copy link
Collaborator

@LossyDragon LossyDragon commented Dec 20, 2022

Description

Getting app info from PICSProductInfo may contain symbols or foreign letters that were not being rendered correctly, either garbled text or question marks.

We have to do a little converting getting the buffer from PICSProductInfo as UTF-8, but parsing it to KeyValues would break it again.

KeyValues now stores parsed tokens into a ByteArrayOutputStream, once it's finished parsing the bytes, we convert it to a UTF-8 supported string.

This brings back nearly all symbols and foreign letters, though there are a some characters still showing question marks.

Checklist

  • Code compiles correctly
  • All tests passing
  • Samples run successfully
  • Extended the README / documentation, if necessary

@LossyDragon LossyDragon merged commit f131c4f into Longi94:master Dec 21, 2022
@LossyDragon LossyDragon deleted the utf branch December 21, 2022 06:42
@LossyDragon LossyDragon mentioned this pull request Jan 28, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant