Jump to content
php.lv forumi

DB charset


eT`

Recommended Posts

Tātad problēma ar DB charsetiem.

 

Uzlikt vajadzēja vienu webu uz hosta. Labi uzmetu failus uztaisu db, importēju sql failu.

 

SQL failam caur Notepad++ kodējumu rāda UTF-8 without BOM.

phpmyadmin norādu tabulas kodējumu utf8.

Importēju bet garumzīmju vietā rādās ķeburi.

 

Atveru sql failu un meklēju attiecīgās tabulas.

 

Piemērs:

PreДЌu piegДЃde pД“c pasЕ«tД«juma, cena pД“c vienošanДЃs.

 

Tātad kā var uzlikt lai importējot nebūtu ķeburi vai vismaz kā SQL failā dabūt garumzīmes.

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

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

Guest
Reply to this topic...

×   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.

Loading...
×
×
  • Create New...