- fix resource handling in try-blocks
- implement UNICODE and ASCII conversion