fixed handling of some non-ASCII character elements in level editor