[wp-trac] [WordPress Trac] #19448: Encoding errors in AJAX responces

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 5 17:23:26 UTC 2011


#19448: Encoding errors in AJAX responces
-------------------------------------+-------------------------------------
 Reporter:  sergey.s.betke@…         |      Owner:  sergey.s.betke@…
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Administration           |    Version:  3.2.1
 Severity:  normal                   |   Keywords:  has-patch dev-feedback
-------------------------------------+-------------------------------------
 When the option '''default_charset''' in php.ini (for example -
 '''windows-1251''') other than blog encoding (for example - '''UTF-8'''),
 whe have troubles.

 = WordPress version =
 Latest WordPress files - 3.3-RC1-19537

 = browser =
 MS IE9

 = Reproducing the problems =
 * set in php.ini (or in htaccess) '''default_charset''' to
 '''windows-1251''' (or any other, not UTF-8 in this example)
 * set wordpress option '''blog_charset''' to UTF-8
 * go to '''/wp-admin/edit-comments.php?comment_status=trash''' for example
 (we have troubles not just here)
 * restore one comment, and look to comments count after a few seconds. I
 see '''0 элементов''' instead of '''0 комментариев'''.
 * or press '''Reply''' at '''/wp-admin/edit-
 comments.php?comment_status=approved''', type '''тест''' (test in russian
 language), and Ok. I see:
  '''Отправлен 05.12.2011 в 4:50 пп | В ответ
 автору webmaster at novgaro.ru.
 тест

 Отклонить | Ответить | Свойства |
 Р˜Р·РјРµРЅРёС‚СЊ | Спам | Удалить'''

 = plugins and themes =
 This trouble is exist on default wordpress installation, without any
 plugins, on default theme

 = Test environment =
 * IIS 7
 * PHP 5.3.6
 * MySQL 5.1
 * proxy - MS ISA Server
 * Test server - http://test.www.novgaro.ru, account - testuser, password -
 testuser. (You can login to this test server).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19448>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list