1. David Jean Louis
  2. polib
  3. Pull requests

Pull requests

#2 Declined
Repository
jamesni
Branch
default
Repository
izi
Branch
default

Add check for charset in Content-Type of header entry

Author
  1. James Ni
Reviewers
Description

Hi david,

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.

Best Regards James

Comments (0)