منتدى استراحات زايد

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   Problem with thai language utf-8 (http://vb.ma7room.com/showthread.php?t=1046496)

محروم.كوم 10-25-2012 02:00 AM

Problem with thai language utf-8
 
Problem with thai language utf-8

testing in vbulletin 4.2.0 and 5.0 beta 14 it the have same problem
ex. http://www.vbulletin.com/vb5demo/for...=5152#post5152

I have solved the problem as follows. but it still same problem please tell me how to fix it.

thanks.

Language / Charset Problems - Things To Check

Some people encounter problems with garbled characters when using vBulletin with non-English languages. Here are some things you can check based on my experience troubleshooting these problems:
  1. Make sure your HTML charset is appropriate to your forum language:

    Admin CP -> Languages & Phrases -> Language Manager -> [Edit Settings] -> HTML Character Set

    _____
  2. Also try emptying the blank character stripper:

    Admin CP -> vBulletin Options -> Censorship Options -> Blank Character Stripper

    _____
  3. Also, the line wrapper can sometimes cause problems with multi-byte languages:

    Admin CP -> vBulletin Options -> Thread Display Options (showthread) -> Number of Characters Before Wrapping Text

    _____
  4. Also, the "prevent shouting" feature can cause problems for some non-English languages. Try disabling it:

    Admin CP -> vBulletin Options -> Message Posting and Editing Options -> Prevent 'SHOUTING'

    _____
  5. You might also need to set the MySQL charset in your includes/config.php file by uncommenting this line. This setting was added starting with 3.5.x:

    // ****** MySQLI OPTIONS *****
    // When using MySQL 4.1+, MySQLi should be used to connect to the database.
    // If you need to set the default connection charset because your database
    // is using a charset other than utf8, you can set the charset here.
    // If you don't set the charset to be the same as your database, you
    // may receive collation errors. Ignore this setting unless you
    // are sure you need to use it.
    // $config['Mysqli']['charset'] = 'utf8';


    _____
  6. Also make sure your database collations are appropriate and consistent throughout the entire database. You need to use program like phpmyadmin to view your collations:

    http://www.phpmyadmin.net/home_page/index.php

    When you click your database name in phpmyadmin it will list all tables, their collations, as well as the collation of the database itself at the bottom. And when you click the name of a table on the left it will list the collations of individual fields within that table.

    1) To edit the collation of the database itself you need to click the database name on the left and then click "Operations" on the top.

    2) To edit the collation of an individual table you need to click its name on the left and then click "Operations" on the top.

    3) To edit the collation of an individual field within a table you need to click the table name on the left and then click the edit image (a little pencil icon) for that field.

    _____
  7. If there was a database move involved then you might need to specify the character set when making the dump. This guide shows how:

    http://wiki.refbase.net/index.php/Troubleshooting

    Note their example:


    Code:

    mysqldump refbase -u root -p --opt --default-character-set=utf8 > refbase.sql

Attached Images


الساعة الآن 04:32 PM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227