Loading ...
Sorry, an error occurred while loading the content.

Re: formsgenerationandvalidation - Possible bug

Expand Messages
  • Manuel Lemos
    Hello Pavel, Your end ISP mail.ru is rejecting messages sent by my server, so I am replying here in the hope that you get this message. ... Hummm... it seems
    Message 1 of 1 , Sep 10, 2004
    View Source
    • 0 Attachment
      Hello Pavel,

      Your end ISP mail.ru is rejecting messages sent by my server, so I am
      replying here in the hope that you get this message.

      On 09/10/2004 07:34 AM, Pavel Shershnev wrote:
      > Hello Manuel,
      >
      > I have a little problem, possibly a bug.
      >
      > I'm making a form with labels and error messages in Russian
      > (windows-1251) and the form looks and works fine except one
      > little thing, the JavaScript alerts for errors show up in
      > gibberish.
      >
      > this is what I wanted
      > "ValidationErrorMessage"=>"Ââåäèòå ïàðîëü!",
      >
      > this is what I get
      > alert(unescape('%C2')+unescape('%E2')+unescape('%E5')+unescape('%E4')+unescape('%E8')+unescape('%F2')+unescape('%E5')+' '+unescape('%EF')+unescape('%E0')+unescape('%F0')+unescape('%EE')+unescape('%EB')+unescape('%FC')+'!')

      Hummm... it seems that unescape turns characters into ISO-8859-1 instead
      of the page encoding. Can you please send me a test script that uses the
      class so I can try to reproduce and fix the problem?

      --

      Regards,
      Manuel Lemos

      PHP Classes - Free ready to use OOP components written in PHP
      http://www.phpclasses.org/

      PHP Reviews - Reviews of PHP books and other products
      http://www.phpclasses.org/reviews/

      Metastorage - Data object relational mapping layer generator
      http://www.meta-language.net/metastorage.html
    Your message has been successfully submitted and would be delivered to recipients shortly.