Encode value to echo function

Hello @Ron ,

It’s a bug, already added by @Matej on their internal bug tracker.
I can also replicate it.