Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#404 Adding a Byte-Order Marker to every file

open
nobody
None
5
2012-09-06
2010-08-26
Valentin Lorentz
No

Hello,

I'm french, and I try to translate a plugin (ChannelStats ; from the git repository) into french, but I got an error "Non-ASCII character '\xc3'", because I use an UTF-8 character ('é').
So, I had to add at the beginning of plugin.py : # -- coding: utf8 --

This problem is easy to solve, but some people may not understand it ; and it could appear in a lot of languages.
So, why not adding this line at the beginning of every Supybot file ?

Thank you in advance,
ProgVal

Discussion