Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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
Re: Zem Contact and russian language
You say: “there’s got to be a way…”
a way to do what? :)
ISO-8859-1 is no use to you, because it’s a charset that doesn’t contain cyrillic characters. It’s there for historic reasons, I guess.
Last edited by ruud (2007-01-23 20:06:39)
Offline
#26 2007-01-23 20:25:14
- ricoschette
- Member
- From: Estonia
- Registered: 2005-09-17
- Posts: 176
Re: Zem Contact and russian language
what about Win-1251
Offline
Re: Zem Contact and russian language
Textpattern uses UTF-8 internally. Converting that to ISO-8859-1 is relatively easy, provided you limit yourself to characters in that charset. For Win-1251 it’s not that easy… and you’d have to modify several internal functions to support that charset. UTF-8 is perfect, really, because you can use it for just about any character known on this planet (provided your mailclient supports it… most do, nowadays).
Last edited by ruud (2007-01-23 20:55:05)
Offline
#28 2007-01-23 21:05:18
- ricoschette
- Member
- From: Estonia
- Registered: 2005-09-17
- Posts: 176
Re: Zem Contact and russian language
yeah, I thought so.
I hope russian guys find this topic and let us know how did they solve this problem.
If I could just use for example – <label=“email”>Cyrillic here</label>… I’d be fine.
Of course, even if my client would get messages in the current way, it wouldn’t be very big problem, because it’s not difficult to understand on which line what information is at.
Offline
Re: Zem Contact and russian language
I assume you clients can read Cyrillic and will probably fill out the form using Cyrillic characters as well, so it makes sense to keep the label Cyrillic as well I think. If the label is causing problems because it’s cyrillic, so will the content that the visitors enter in the form.
Offline