I run a Latvian website. My current charset is set to ISO-8859-4.
Now I've noticed that when i type Latvian Characters into an FCK Editor text area and hit submit, it converts my latvian into strange characters.
The code I have is:
This issue is only present when i use ajax for a form. Standard HTML forms work fine.
Thanks guys
Now I've noticed that when i type Latvian Characters into an FCK Editor text area and hit submit, it converts my latvian into strange characters.
The code I have is:
window.addEvent('domready', function() { $('myForm').addEvent('submit', function(e) { var content = FCKeditorAPI.GetInstance('comment').GetXHTML(); $('comment').setProperty('value',content) e.stop(); var log = $('log_res').empty().addClass('ajax-loading'); this.set('send', {onComplete: function(response) { log.removeClass('ajax-loading'); log.set('html', response); }}); this.send(); }); });
This issue is only present when i use ajax for a form. Standard HTML forms work fine.
Thanks guys
Re: Latvian Character Encoding Issue
Will pay whoever figures this out for me!
Re: Latvian Character Encoding Issue
Re: Latvian Character Encoding Issue
Re: Latvian Character Encoding Issue
Re: Latvian Character Encoding Issue
I changed my charset to UTF-8. Still same issue.
Tried using it in a separate file away from my CMS...still in the same issue. Files are UTF-8.
Any other suggestions?
Thanks so much, if you can work closer with me I'd gladly pay for your services to fix this issue, as I plan on launching many sisters sites that run in different languages and it would be vital for me to get this feature up.
Best Regards,
Thomas
Re: Latvian Character Encoding Issue
Re: Latvian Character Encoding Issue
Re: Latvian Character Encoding Issue
Re: Latvian Character Encoding Issue
Works perfectly, you are a champion...pm me your paypal and I'll make a donation if you wish.
Re: Latvian Character Encoding Issue