Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-01-23 14:56:54

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Zem Contact and russian language

can’t put any cyrillic characters in TXP :(

I wonder how have other russian websites done this? I’ve seen there are several in TXP magazine.

Offline

#14 2007-01-23 15:11:35

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Zem Contact and russian language

Are you still using zem_contact v0.6?
If so, please install zem_contact_reborn version 4.0.3.18 instead, because that fixes the problem with the empty for/id attributes when using non-ascii characters and has been tested extensively with such cyrillic or other non-ascii characters.

Offline

#15 2007-01-23 15:46:57

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Zem Contact and russian language

ok, I’ll try it out right now

so, take a look at the source

screenshot of Hotmail’s mail I sent from website:

Last edited by ricoschette (2007-01-23 16:01:09)

Offline

#16 2007-01-23 16:15:06

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Zem Contact and russian language

The form itself looks okay. The HTML source shows long strings of characters in the id/for/name attributes of the form tags, but that’s okay since these are only used internally within zem_contact_reborn.

So the only remaining problem is that hotmail doesn’t display cyrillic characters properly. It looks like it was sent as UTF-8, but displayed in a singlebyte charset, which you can see because the labels in the email contain about twice as much characters as they do in your form on the website.

Which browser do you use and can you check which character the browser uses when viewing that email through hotmail. It should be UTF-8. No other character set.

Please test with a normal email client as well… use Outlook (Express) if nothing else is available or perhaps Thunderbird.

Offline

#17 2007-01-23 16:28:19

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Zem Contact and russian language

I don’t use Outlook for security reasons.
And I use Mozilla, Opera, IE.

I just set characters in Opera to utf-8. Don’t know how to do that in IE.

And it shows the same way in Opera and Mozilla.

Last edited by ricoschette (2007-01-23 16:33:16)

Offline

#18 2007-01-23 16:38:16

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Zem Contact and russian language

maybe I should change something inside of zem_contact_reborn plugin?

Offline

#19 2007-01-23 17:10:10

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Zem Contact and russian language

Can you add the attribute copysender="yes" to the zem_contact tag, so I can test the form and receive a copy of the email myself?

No change inside the plugin should be necessary.

Last edited by ruud (2007-01-23 17:10:29)

Offline

#20 2007-01-23 17:34:35

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Zem Contact and russian language

you mean into this line: <txp:zem_contact copysender=“yes” to=“myname@hotmail.com”>

Offline

#21 2007-01-23 18:11:32

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Zem Contact and russian language

Yes, and change <txp:zem_contact_text label=“Э-почта” min=5 /> to <txp:zem_contact_email label=“Э-почта” min=5 /> to make sure a valid looking email address is entered.

Offline

#22 2007-01-23 18:36:30

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Zem Contact and russian language

did that

Offline

#23 2007-01-23 19:31:55

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Zem Contact and russian language

tested with 2 mails… I see the same characters in email as you have on your website, so the email is apparently sent correctly. Now all you need is a mail client that can properly display UTF-8 mails ;)

Last edited by ruud (2007-01-23 19:32:55)

Offline

#24 2007-01-23 19:49:09

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Zem Contact and russian language

great :)

isn’t there a way to play with the plugin. I mean, when I look at it, I see the use of utf-8 and there’s mentioned ISO-8859-1
there’s got to be a way…

anyway, many many tnx to you

Offline

Board footer

Powered by FluxBB