Is the data (1) in Anvil’s data tables, and (2) in a string column?
Assuming yes, does this not work (for example) :
mystring = app_table.mytable.get(col='xx').decode()
Maybe could you create a very simple app that reproduces the issue and post the clone link here (or pm me)?