> 1 <

Author Message

Fagot

4 posts

Location: Russia
Occupation:
Age:
#390   2008-09-22 06:31 GMT      
function encodeURIComponent() used in previw script in textboxer2 convert national characters in UTF-8
if site not use UTF-8

In file plugins/code/tb2preview.php
code
Code:
  header('Content-type: text/html');
  @ob_start("ob_gzhandler");

replace with
Code:
  header('Content-type: text/html; charset=utf-8');
  @ob_start("ob_gzhandler");


now national charset show correctly in preview mode.

checked in windows1251 charset database
> 1 <
Copyright © 2008 Domain.Com. All Rights Reserved.
Page created in 0.157 seconds