Replace reference to char with w:char to fix #5