What I’m trying to do:
I was trying the template “Expense Approval App” on local runtime, but the unicode characters “• • • • •” was not displayed correctly but as garbled text. I wonder whether it’s a bug or it’s just I’m missing some steps.
What I’ve tried and what’s not working:
I tried creating a new app and used other unicode characters, still unable to solve the problem.
when deployed on anvil cloud, everything is ok; but when deloyed on local runtime, got garbled text:
Code Sample:
my simple launch script:
import subprocess
from pathlib import Path
parts = [
'anvil-app-server',
'--app', 'first_app',
'--auto-migrate',
]
cmd = ' '.join(parts)
subprocess.run(cmd, shell=True, cwd=Path(__file__).parent.resolve(), encoding='utf-8')
Clone link:
the app I created for testing:
