Page 1 of 4 1 2 3 4 LastLast
Results 1 to 15 of 48

replace non english characters

This is a discussion on replace non english characters within the General Discussion forums, part of the vBSEO SEO Plugin category; ok i installed 2.4.0 and works all ok .... except that i cannot find where i can manualy replace character ...

  1. #1
    Senior Member
    Real Name
    Samo
    Join Date
    Jan 2006
    Location
    Slovenia
    Posts
    118
    Liked
    0 times

    replace non english characters

    ok i installed 2.4.0 and works all ok .... except that i cannot find where i can manualy replace character .... i need to be like that .... coz option set to yes to replace non english character doesnt work ok

    š = s
    ž = z
    č = c

    and juan can you fix me this

    Content Relevant URLs by vBSEO 2.4.0 (Unregistered)

    thanks for great product and for help

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    You need to download includes/config_vbseo.php and edit the file
    You need to edit and add your own settings to
    Code:
    // ****** CUSTOM CHARACTER REPLACEMENTS ******
    
    	// The following array enables you to select a replacement for characters other than the ones replaced
    
    	// by default
    	$vbseo_custom_char_replacement = array(
    'Č' => 'c',
    'č' => 'c',
    'Ğ' => 'g',
    'ğ' => 'g',
    'Ş' => 's',
    'ş' => 's',
    'İ' => 'i',
    'ı' => 'i',
    'Ç' => 'c',
    'ç' => 'c',
    'Ü' => 'u',
    'ü' => 'u',
    'Ö' => 'o',
    'ö' => 'o',
    'ı' => 'i',
    'İ' => 'i',
    'é' => 'i',
    'â' => 'a',
    'Ê' => 'e',
    'Â' => 'a',
    'ê' => 'e');
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member
    Real Name
    Samo
    Join Date
    Jan 2006
    Location
    Slovenia
    Posts
    118
    Liked
    0 times
    khm i did this but doesn work? .... maybe i has something wrong

    // ****** CUSTOM CHARACTER REPLACEMENTS ******
    // The following array enables you to select a replacement for characters other than the ones replaced
    // by default.
    $vbseo_custom_char_replacement = array(
    'Č' => 'c',
    'č' => 'c',
    'ž' => 'z',
    'Ž' => 'z',
    'š' => 's',
    'Š' => 's',
    );

  4. #4
    Senior Member
    Real Name
    Samo
    Join Date
    Jan 2006
    Location
    Slovenia
    Posts
    118
    Liked
    0 times
    sorri it works now ... i ***** something
    Last edited by Juan Muriente; 01-27-2006 at 06:44 PM.

  5. #5
    Junior Member
    Real Name
    Sinh
    Join Date
    Apr 2007
    Posts
    3
    Liked
    0 times
    there is still problem. Look at my username. Without replacement, it should be rua-i-trau, but it's ru-i-trau, so I can't use the replacement, because ồ is a 3-byte-unicode char (something like ồ), not 1-byte-unicode!

  6. #6
    Junior Member
    Real Name
    Sinh
    Join Date
    Apr 2007
    Posts
    3
    Liked
    0 times

  7. #7
    Junior Member
    Real Name
    Sinh
    Join Date
    Apr 2007
    Posts
    1
    Liked
    0 times
    Ok I'm in other username

  8. #8
    Junior Member
    Real Name
    Sinh
    Join Date
    Mar 2007
    Posts
    6
    Liked
    0 times
    I think I got it! Maybe the vbseo core connect to mysql WITHOUT "Set charset UTF8" (because i'm using UTF8 coding for my Vietnamese) =>
    if the script use result from vb-core, it return good char (ồ) but if it use its own script, it will return bad one (?). Both case for ồ .

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    vBSEO sets character set when connecting to MySQL corresponding to vBulleitn settings defined in config.php
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  10. #10
    Junior Member
    Real Name
    Sinh
    Join Date
    Mar 2007
    Posts
    6
    Liked
    0 times
    I'm using vb 3.6.5 with vbseo 240, utf8. Sometimes vbseo rewrite Ruồi trâu into rua-i-trau, but somtimes ru-i-trau.
    Big example: it rewrite [forum-title] well in forumhome.php, but badly in online.php (always ? for any unichar, so it turns into - [i tried to replace ? with z, and it did, z other than -])

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Sinh,

    you are not showing as vBSEO Owner, what is your forums URL?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  12. #12
    Junior Member
    Real Name
    Sinh
    Join Date
    Mar 2007
    Posts
    6
    Liked
    0 times
    .::LYNANGKHIEU::. - Forums - ChÃ*o mừng đến .::LYNANGKHIEU::.
    In this time, I set vbseo to works with id, no more with title or name

  13. #13
    Member
    Real Name
    ---------
    Join Date
    Mar 2007
    Location
    Oklahoma
    Posts
    60
    Liked
    0 times
    Oleg,

    Thanks for referring my Cyrillic URL rewrite post here. This seems simple enough, but it is not working.

    I have added to the file:
    Code:
    $vbseo_custom_char_replacement = array(
    'А' => 'A',
    'а' => 'a',
    'Б' => 'B',
    'б' => 'b',
    'В' => 'V',  etc, etc
    I have tried uploading it ASCII and Binary, but when I download the file after making the changes, it always has '? for the cyrillic characters.

    My board is UTF-8 and the file saved on my PC is UTF-8. Any ideas?

    Thank you..

  14. #14
    Junior Member
    Real Name
    Sinh
    Join Date
    Mar 2007
    Posts
    6
    Liked
    0 times
    Only one: Report bugs to vbSEO

  15. #15
    Member
    Real Name
    ---------
    Join Date
    Mar 2007
    Location
    Oklahoma
    Posts
    60
    Liked
    0 times
    Quote Originally Posted by oradoe View Post
    Only one: Report bugs to vbSEO
    So smart and helpful

Page 1 of 4 1 2 3 4 LastLast

Similar Threads

  1. non english characters
    By croportal in forum Pre-Sales Questions
    Replies: 4
    Last Post: 01-29-2006, 03:00 PM
  2. non english characters
    By mljask in forum Pre-Sales Questions
    Replies: 8
    Last Post: 01-09-2006, 06:17 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
  •