The only place you’re using an interface, is here
So you need to specify ‘character ref’ when you make the interface call. Apparently you are not