Which encoding when importing Macedonian database thru phpMyAdmin?

Discussion in 'Databases' started by schlupi, May 17, 2009.

  1. #1
    The title says it all, Im having issues when importing macedonian (cyrilic) database thru phpMyAdmin (dont know which encoding to choose)...

    UTF8 gives "?" instead of cyrillic letter, CP1250 & CP1251 recognizes few letters but not all (f.e. ?о? д?л н? ??бо??...?л? н??д??? нов л?н? ?л? ов? во ??н??)


    Anyone knows?

     
    schlupi, May 17, 2009 IP
  2. koko5

    koko5 Active Member

    Messages:
    394
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    70
    #2
    This happens, because you don't set appropriate connection pipe.

    
    mysql_query('SET NAMES utf8');
    
    PHP:
    immediately after mysql_connect( ... )
     
    koko5, May 18, 2009 IP