RE: Maketext and UTF-8

2004-09-03 Thread Andrés Felipe Hernández
Hi again,

Is there a more specific list I can refer this to? I didn’t get any answers
to my questions so I thought it would be good idea to ask somewhere else :)

Cheers,
Andrés


-Original Message-
From: Andrés Felipe Hernández [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 12:47 PM
To: 'perl beginners'
Subject: Maketext and UTF-8


Hello list,

I'm having a little bit of trouble using Maketext with when returning texts
with special characters (á, é ... etc).

Although the text is returned successfully a warning is generated saying
this:

Malformed UTF-8 character (unexpected non-continuation byte 0x72 after start
byte 0xe9) in pattern match (m//) at /...Perl/5.6.1/Locale/Maketext/Guts.pm
line 32, STDIN line 3.

How do I get rid of that warning?

Thanks for your help,
Andres



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response






--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Maketext and UTF-8

2004-09-02 Thread Andrés Felipe Hernández

Hello list,

I'm having a little bit of trouble using Maketext with when returning texts
with special characters (á, é ... etc).

Although the text is returned successfully a warning is generated saying
this:

Malformed UTF-8 character (unexpected non-continuation byte 0x72 after start
byte 0xe9) in pattern match (m//) at /...Perl/5.6.1/Locale/Maketext/Guts.pm
line 32, STDIN line 3.

How do I get rid of that warning?

Thanks for your help,
Andres



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Maketext Lookup failure

2004-06-14 Thread Andrés Felipe Hernández
Hello everyone.  I tried to post this already to googlegroups
but it seems there must be something wrong since I didnt get
any replies (maybe I did something wrong). So, here's the
deal.

I am starting to use Maketext for a Website and i have
the following situation:

Supose english is my default language so all my calls
look like this:

$out = maketext(You won [quant,_1,point]);

Now, for every different language, I want to know if
this text is not translated yet.

Right now, if that key is missing on my french lexicon
the text in english is being returned without throwing
any kind of exception.  Actually, if I understand
correctly, it is supposed to work that way right?

http://www.perldoc.com/perl5.8.0/lib/Locale/Maketext.html#CONTROLLING-LOOKUP
-FAILURE

If so, what's your advice? Would it be easy to override
the maketext method so I can log this missing entries?

Thank you very much,

Andrés



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response