UI > rewrite javaSc... > Bug (done?)

Problem with chars like ÅÄÖÜ when using AJAX / #3965

Summary

v0.08
done?
Feb 7, 2007
100%
Feb 8, 2007 / webbplatsen
Feb 20, 2007 / pixtur
 

Attached files

No files uploaded
When edit task description using the AJAX feature chars like ÅÄÖÜ will look like: "åäöü".

If you edit task description tradtional way ÅÄÖÜ looks ok.
Seems that AJAX feature decode ÅÄÖÜ wrong

also see:

Issue report

Minor
Have not tried
 

13 Comments

webbplatsen

Feb 8, 2007
Hmm this works great here
I have converted my database from Latin_swedish_ci to UTF8_swedish_ci and tested to set confChange('DB_USE_UTF8_ENCODING',false);
...but I still get åäöü

I can see this works here ...grml

webbplatsen

Feb 8, 2007
This should be easy to solve
it's working here so please give me your settings.

pixtur

Feb 8, 2007
version 3
Hmmm. Strange...
MySQL 5.0.24-max-log
Collation of tables: latin1_swedish_ci
Type: MyISAM

confChange('DB_USE_UTF8_ENCODING',false);

I am not really sure, why the utf8 encoding makes problems. Probably we need some additional Header option for the request.... really weird.


when checking the answer of the ajaxRequest Firebux tells me following headers.

Date Wed, 07 Feb 2007 23:51:28 GMT
Server Apache/1.3.36 (Unix) PHP/5.1.4 with Suhosin-Patch FrontPage/5.0.2.4803 mod_fastcgi/mod_fastcgi-SNAP-0404142202 mod_ssl/2.8.27 OpenSSL/0.9.6i
X-Powered-By PHP/5.1.4
Set-Cookie NORD_UID=9c745c52f0dd5cc93fcff535b9ce5f83; expires=Fri, 09-Mar-2007 23:51:28 GMT
Connection close
Transfer-Encoding chunked
Content-Type text/html
Request Headers


especially not the Content-Type field. Maybe I have to adjust this settings for the ajax request, but I am not sure, how to do this. Do you need access to this server for further tests?

webbplatsen

Feb 8, 2007
UTF8 encoding
Setting confChange('DB_USE_UTF8_ENCODING',false); will not make any diff with the AJAX edit.



webbplatsen

Feb 8, 2007
LAMP settings
Apache MySQL: 5.0.33-log
Type: MyISAM
MySQL charset: UTF-8 Unicode (utf8)
Collation: UTF8_swedish_ci (have tried with Latin1_swedish_ci too)

PHP-version: 5.1.6
Apache/1.3.37 (Unix)

pixtur

Feb 8, 2007
version 2
hmm..
Which:
  • mysql version
  • Browser
I successfully tested with Firefox v2.0 and ie6
But the ajax editing fails for Safari.

webbplatsen

Feb 8, 2007
versions
MySQL: 5.0.33-log
Browser: Firefox 2.0.0.1

...same problem with MSIE7.

pixtur

Feb 9, 2007
version 3
I have no idea...
but I added an additional header to the ajax-answer.
Please try pages/item_ajax.inc.php from the latest revision rev277.


pixtur

Feb 14, 2007
any changes?
Hi ganesh. Did the html_headers solve the problem?

webbplatsen

Feb 14, 2007
No time yet!
Have too much right now so I haven't test it yet

cvivanco

Feb 17, 2007
Reply to any changes?
I had the same problem, but item_ajax.inc.php rev277 solved it.


webbplatsen

Feb 20, 2007
Works here 2
used rev288 and ÅÄÖ works fine!!!!

pixtur

Feb 20, 2007
very nice...
So we only have to take care of the localized date functions for the stable release...

 

Comment / Update