Hi Aldevinas,
Can you please explain a bit more what the issue is? Is your problem that HAL doesn't decode properly or is hal encoding but some other place fails to decode?
Please also list any HAL functions that you are using in your workflow.
Best Regards,
David D.