I write a program calling polib to generate po files. Recently, i receive some complains from users that 'Content-Type' of header entry of generated po file using charset=CHARSET not charset=UTF-8, which is not correct. As i know, polib doesn't generate default po header, and doesn't check charset in 'Content-Type' when save po files. So i am wondering if it is proper to add a charset checking function and call it in save function of polib, then generated po file could have a correct charset value. Or maybe this kind of checking should happen in my own program ?
It would be very helpful if you could give me advice on that. Thanks in advance.