in reply to russian input to GD::Graph

Just use utf8 and unicode font.

See http://www.opennet.ru/tips/info/693.shtml for details.