+ Reply to Thread
Results 1 to 9 of 9

Thread: Char set error in mail form

  1. #1
    Join Date
    Sep 2009
    Posts
    33

    Default Char set error in mail form

    Hi,

    Could anybody help me, please? I use Open-Realty with UTF-8 char set (in Russian languish). Everything works fine. But when I (fortunately I, not a client!:-) ) click the link

    Sent to a friend

    or

    Contact the agent

    In the form that is generated there appear something like

    Ð�о пово&# 208;´Ñ� пÑ�едл&#208 ;¾Ð¶ÐµÐ½Ð¸&#209 ;� #6

    I understand that #6 means the listing No 6. Everything else is just a mistake in coding of chars.

    Is there any way even if not to change the outgoing char set but just the content of the preprinted text for something more international that could be used in Latin char set. Something like Offer No 6 or something like that?

  2. #2
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,360

    Default Re: Char set error in mail form

    This may be related to a fixed bug but I am not sure.
    Are you using UMP or Open-Realty? Please, post a link so we can see it.
    The link you mention opens a popup, generated by "popup.html" template file - this file has also the correct charset?
    Your language file is encoded as UTF-8?
    Your database has collation also set to UTF-8?

    Eduardo
    Open-Realty® v.3.x DOCs

    Man aspires to be immortal and to this end he defends ephemeral principles.
    One day he will inexorably find that to be immortal he must defend Absolute Principles.
    On that day he will die to the flesh, ephemeral, and will live to the Spirit, Eternal. He will be Immortal.
    Author: Celso Charuri


    http://www.eduardomarques.com

  3. #3
    Join Date
    Sep 2009
    Posts
    33

    Default Re: Char set error in mail form

    Thanks for your reply.

    I use Open-Realty the last version classic (2.5.7 -?). Nothing was changed exept templates. But basically I use cms-integration templates. I’have found this problem from the very beginning when it was a standalone application. But just to be sure that the thing is within Open-Realty and not anywhere else, here are two direct links

    http://www.inmast-realty.ru/or/index...ew&listingID=3

    – this is the page with classic detailed listing.

    An that is the link to send a email to the agent (but there is the same problem with the link to send friend)

    http://www.inmast-realty.ru/or/index...s&listing_id=3

    Yes, there was a bug in the link, but I’ve found the information on this forum and settled it. But the is another question:
    How to change char set in the form or change the fraise?

    Thank you in advance,

    Alexei

  4. #4
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,360

    Default Re: Char set error in mail form

    To keep trying detect the error, first you need to fix your "popup.html" file.
    I saw its code at:
    http://www.inmast-realty.ru/or/templ...ion/popup.html

    Please edit the file so it becomes:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
    <head>
    <title>{site_title}</title>
    <meta http-equiv="content-type" content="text/html;charset={charset}" />
    {load_js}
    {license_tag}
    </head>
    <body>
    {content}
    {load_js_last}
    </body>
    </html>
    Please, tell us if the problem persists with this fix.

    Eduardo
    Open-Realty® v.3.x DOCs

    Man aspires to be immortal and to this end he defends ephemeral principles.
    One day he will inexorably find that to be immortal he must defend Absolute Principles.
    On that day he will die to the flesh, ephemeral, and will live to the Spirit, Eternal. He will be Immortal.
    Author: Celso Charuri


    http://www.eduardomarques.com

  5. #5
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,360

    Default Re: Char set error in mail form

    Please do the fix at my previous post - but that will not fix the problem.
    I have reproduced the error and I do confirm there is a fix needed.
    I will be looking at it in the next days and will let you know about the solution.

    Thanks,
    Eduardo
    Open-Realty® v.3.x DOCs

    Man aspires to be immortal and to this end he defends ephemeral principles.
    One day he will inexorably find that to be immortal he must defend Absolute Principles.
    On that day he will die to the flesh, ephemeral, and will live to the Spirit, Eternal. He will be Immortal.
    Author: Celso Charuri


    http://www.eduardomarques.com

  6. #6
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,360

    Default Re: Char set error in mail form

    Quote Originally Posted by InMast View Post
    ...I use Open-Realty with UTF-8 char set (in Russian languish). Everything works fine. But when I (fortunately I, not a client!:-) ) click the link...
    I have just submmited the fix at SVN (rev.2497) - please send an email to:
    edubmarques AT gmail DOT com
    So I can send to you the fixed file.

    Eduardo
    Last edited by ebmarques; 02-09-2010 at 12:01 AM. Reason: my email address changed
    Open-Realty® v.3.x DOCs

    Man aspires to be immortal and to this end he defends ephemeral principles.
    One day he will inexorably find that to be immortal he must defend Absolute Principles.
    On that day he will die to the flesh, ephemeral, and will live to the Spirit, Eternal. He will be Immortal.
    Author: Celso Charuri


    http://www.eduardomarques.com

  7. #7
    Join Date
    Sep 2009
    Posts
    33

    Default Re: Char set error in mail form

    Yes, there was a bug in the link, but I’ve found the information on this forum and settled it. But the is another question:
    How to change char set in the form or change the fraise?
    Thank you in advance,
    Alexei

    Yes, I’ve done it. By the way I do not know how I could loose the most part of the code in the file 
    It is not my work to edit the code this way. I am not a professional coder but I understand something in html and php, so I could not do this… May be it was lost during file transfer somehow…
    The restore of the popup.php did not solve the problem.
    As for my experience this kind of char set appears when something is recoded several times, for example when a text is transferred to UTF-8 twice.
    Thank you for your help. I will wait for the idea how to fix it.

  8. #8
    Join Date
    Sep 2009
    Posts
    33

    Default Re: Char set error in mail form

    Eduardo,

    I am sorry for reminding you. But it seems to me that it is a good idea to ask you for an advice. May be you have forgotten. You have helped me with the first of two letter forms, the Contact Agent. It works fine and you have said that that was a fixed already bug of OR. But there are two forms of that type. The second is the Send to ŕ friend letter. And the char set is wrong there. Could we fix it somehow (I just think that there is some ready way out) or this is a problem till the next Open-Realty issue and I should delete this link at all until that time?

    Imaging I have even implemented the map show with geocoding data getting on a fly while my listing detail page is loading. We could not spoil such a brilliant work with broken links on the page.

    The brunch of the forum “Show Off” is waiting for me, the last steps needed to be done.

    Alexei

  9. #9
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,360

    Default Re: Char set error in mail form

    Quote Originally Posted by InMast View Post
    I am sorry for reminding you...
    Thanks for the reminder - I have sent you an email.

    Eduardo
    Open-Realty® v.3.x DOCs

    Man aspires to be immortal and to this end he defends ephemeral principles.
    One day he will inexorably find that to be immortal he must defend Absolute Principles.
    On that day he will die to the flesh, ephemeral, and will live to the Spirit, Eternal. He will be Immortal.
    Author: Celso Charuri


    http://www.eduardomarques.com

+ Reply to Thread

Similar Threads

  1. E-mail contact form with agent included...
    By Shile in forum General Help
    Replies: 3
    Last Post: 08-07-2009, 11:25 AM
  2. Upload a Picture Caption box..is it char limited?
    By tones_ie in forum General Help
    Replies: 0
    Last Post: 01-31-2008, 11:02 PM
  3. Contact Agent Form - How to forward every mail to admin
    By Andrea80 in forum Installation/Configuration Help
    Replies: 2
    Last Post: 06-12-2007, 10:59 PM
  4. My Super Mail Form
    By Caleb in forum Mods (CLOSED)
    Replies: 3
    Last Post: 02-23-2005, 01:59 PM
  5. Contact form on listingview - Could Not Send Mail
    By Ice 9 in forum HELP (CLOSED)
    Replies: 2
    Last Post: 12-30-2003, 12:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts