[rt-users] mason unicode utf-8 BOM - junk in component output

Ruslan Zakirov ruslan.zakirov at gmail.com
Fri Jun 16 08:52:48 EDT 2006


As BOM is useless in UTF-8 files, since UTF-8 independand from
byte-order you can use files without BOM, but sure it looks more like
Mason problem and if BOM is required in your environment then it's
better send question to mason's lists.

On 6/16/06, Boldra <paul at boldra.com> wrote:
> I've been playing around with converting some of the mason components to
> utf-8, but I've found I keep getting the BOM (byte-order-marker)
> displayed on the page (as two rubbish characters preceeding the
> components output).  I can save files as BOMless (using ultraedit),
> which seems to solve the problem, but it doesn't seem like a very
> sensible solution.
>
> Does Mason support modules in utf-8 ?  Is it a system setting (I'm using
> freebsd)?  I have the mason baboon book, but I can't find anything about
> unicode, utf-8 or internationalization there.  I know the po files are
> utf8, but since I'm (admittedly short-signtedly) writing only for a
> German-language site, I'd prefer not to have to put everything in the po
> files.
>
> Any help much appreciated.
>
> Boldra
>
> Greencircle
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>


-- 
Best regards, Ruslan.



More information about the rt-users mailing list