Fixed unicode characters and related bugs