fix(driver-compat) support CodeWScope encoding