Jump to content
Fórum Script Brasil
  • 0

Problema ao Importar Tabelas com items que tem acentos phpmyadmin


Donnerak

Question

Boa Tarde Estou com essas 2 tabelas para serem importadas, ambas tem dados com acentos e estão definidas para charset = utf-8. Porém a tabela item_db quando eu importo os acentos funcionam perfeitamente, já a mob_db não funcionam os acentos por exemplo Escorpião vira Escorp. Não entendo já que as 2 usam charset=utf-8 não deveriam acentuar iguais?

Vejam trechos das tabelas:

Item db (que acentua correto)

ITEM_DB

CREATE TABLE IF NOT EXISTS item_db ( id smallint(5) unsigned NOT NULL DEFAULT '0', name_english varchar(50) NOT NULL DEFAULT '', script text, equip_script text, unequip_script text, PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

REPLACE INTO item_db (id, name_english, name_japanese, type) VALUES (501, 'Red_Potion', 'Poção Vermelha', 0,),

--------------------------------------------------------------------------------------------------------------------------------------

Mob_db (que acentua errado)

DROP TABLE IF EXISTS mob_db;

CREATE TABLE mob_db ( ID mediumint(9) unsigned NOT NULL default '0', Sprite text NOT NULL, kName text NOT NULL, PRIMARY KEY (ID) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

REPLACE INTO mob_db VALUES (1001,'SCORPION','Escorpião','Escorpião',24,);

--------------------------------------------------------------------------------------------------------------------------------------

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652.1k
×
×
  • Create New...