added support for ascii and unicode escapes