[Tutor] name shortening in a csv module output

Dave Angel davea at davea.name
Sat Apr 25 02:53:30 CEST 2015


On 04/24/2015 07:34 PM, Jim Mooney wrote:
>>
>> Apparently so. It looks like utf_8-sig just ignores the sig if it is
>> present, and uses UTF-8 whether the signature is present or not.
>>
>> That surprises me.
>>
>> --
>> Steve
>> ____________
>>
>
> I was looking things up and although there are aliases for utf_8 (utf8 and
> utf-8) I see no aliases for utf_8_sig, so I'm surprised the utf-8-sig I
> tried using, worked at all. Actually, I was trying to find the file where
> the aliases are so I could change it and have utf_8_sig called up when I
> used utf8, but it appears to be hard-coded.
>

I wouldn't use utf-8-sig for output, however, as it puts the BOM in the 
file for others to trip over.

-- 
DaveA


More information about the Tutor mailing list