Added a wrapper for the UTF-8 decoding.