Improved errors showing and charcter encoding for spanish