Results 1 to 6 of 6

Trouble with encoding in meta-tags

This is a discussion on Trouble with encoding in meta-tags within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Look, ????? Porsche Cayenne Club | ???? ?????????? Porsche Cayenne | ???????? ??? ????? ????? | ?????? ???? ???? MySQL ...

  1. #1
    Junior Member
    Real Name
    Andreas
    Join Date
    Mar 2007
    Posts
    6
    Liked
    0 times

    Unhappy Trouble with encoding in meta-tags

    Look, ????? Porsche Cayenne Club | ???? ?????????? Porsche Cayenne | ???????? ??? ????? ????? | ?????? ???? ????
    MySQL charset: UTF-8 Unicode (utf8)
    MySQL connection collation: cp1251_general_ci
    Tables charset: cp1251_general_ci

    Then vbseo turned off, titles coming with true encoding, cp1251
    Then vbseo turned on, they coming with wrong encoding, as result - questions in meta-tags.

    btw, i've got some additional queries in init.php;
    PHP Code:
    mysql_query ("set character_set_client='cp1251'"); 
    mysql_query ("set character_set_results='cp1251'"); 
    mysql_query ("set collation_connection='cp1251_general_ci'"); 
    maybe adding same queries to vbseo will solve the problem?

    Sorry for bad eng (

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Please try to enable this option in config_vbseo.php file:
    PHP Code:
        define('VBSEO_UTF8_SUPPORT',           1); 
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Junior Member
    Real Name
    Andreas
    Join Date
    Mar 2007
    Posts
    6
    Liked
    0 times
    Oleg Ignatiuk, no any result (
    btw, i've got some additional queries in init.php;
    PHP Code:
    mysql_query ("set character_set_client='cp1251'");  
    mysql_query ("set character_set_results='cp1251'");  
    mysql_query ("set collation_connection='cp1251_general_ci'"); 
    maybe adding same queries to vbseo will solve the problem?
    what do think about?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Try to put that code in functions_vbseo_db.php file below this line:
    PHP Code:
    @$this->funcs['select_db']($this->database$this->link_id); 
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Junior Member
    Real Name
    Andreas
    Join Date
    Mar 2007
    Posts
    6
    Liked
    0 times
    Oleg Ignatiuk, ye it works! thx

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Great!
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Meta Tags
    By PromotePoker in forum General Discussion
    Replies: 7
    Last Post: 03-19-2008, 11:36 PM
  2. vbseo and Meta Tags and Meta Description
    By MarketTimes in forum General Discussion
    Replies: 0
    Last Post: 08-03-2007, 05:24 PM
  3. meta tags
    By FreelancerStore in forum General Discussion
    Replies: 2
    Last Post: 04-15-2007, 12:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •