Fix some issues with text encoding