This warning comes from accessing $KCODE. What should be used instead?
In particular, this snippet from RDoc:
@charset = case $KCODE
Eventually @charset is placed in a in the output
RDoc. Is there a better way to determine the charset of a file?