Jump to content
php.lv forumi

Vai tas ir normāli, ka db rādās ķeburi?


daGrevis

Recommended Posts

Man ir tāpat, vienīgi nav uzstādīts SET NAMES UTF-8.

Ir tā, ka lapā viss normāli izskatās, bet phpmyadmin'ā ir ķeburi. Ja datus pievieno caur phpmyadmin, tad lapā rādās jautājumzīmītes... Savādāk viss ir kārtībā...

Link to comment
Share on other sites

phpMyAdmin:

 

Database: utf8_unicode_ci

Connection: utf8_unicode_ci

 

PHP:

 

header('Content-Type: Text/HTML; charset=UTF-8');

 

Files:

 

UTF-8 Without BOM

Link to comment
Share on other sites

  • 3 weeks later...

man DB visa UTF-8.

visi skripti ar utf-8.

(kamēr skriptus caur notepad laboju) viss bij norm, izņemot dažus skriptus, kur leca ārā HEADER_ALREADY_SEND... errors :/

 

sāku labot skriptus ar notepad++, saglabāju tāpat UTF-8, without BOM. VOT i sākās visas tās problēmas no jauna. atkal visādus ķeburus rādā... :(

 

un tā pati problēma, kas topa autoram :(

Edited by nikidijs
Link to comment
Share on other sites

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