core: add support of escaped unicode chars in commands /print and "/input insert"