[Templates] Wide character in print at /usr/lib/perl5/Template.pm line 168

Éric Cholet cholet at logilune.com
Fri Nov 16 16:15:23 GMT 2007


Le 15 nov. 07 à 15:11, Andrew McFarland a écrit :

> On 14/11/2007, Josh Rosenbaum <josh at infogears.com> wrote:
>
>> Andrew, what encoding is your data and output using?
>
> The data comes from comments in a C++ source file, so it could be in
> any encoding that can be used there. Before I get it, it is processed
> by another perl script. Is there an easy way to determine what
> encoding a file/data uses?

You could use Encode::Guess, but frankly the whole idea of processing  
data whose format you do not know precisely is rather ludicrous.

--
Éric Cholet





More information about the templates mailing list