parser now correctly handles unicode strings