Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Problem s MySQL podacima...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
hrv0j3



Joined: 03 Aug 2007
Posts: 34

PostPosted: 05.03.2009 11:42    Post subject: Problem s MySQL podacima... Add user to your forum ignore list Reply with quote

Poz svima,

Ovako moram prebacit s joomle (encoding win-1250) novosti na drugi custom sustav (utf-Cool i sve 5... bez problema.. ali!

Dolazi do problema s znakovima tj. nasim slovima...

npr.
"Mi smo znaèi kreteni", "Zašto aparati za parking ne primaju novèanice?"

samo š radi... ok stavim str_replace da mi zamjeni è s č ...ali ne reagira.. u isti str_replace stavim da npr. i zamjeni s a i sve radi.. znaci nemogu ni "procitat" taj znak...

kako da rijesim svoj problem? Smile hvala!
Back to top
View user's profile Send private message MSN Messenger
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 05.03.2009 13:54    Post subject: Add user to your forum ignore list Reply with quote

stavi query
Quote:
set names utf8
nakon spajanja na bazu

ako ti ni onda ne radi znaci da se krivo importalo, pa u nekom editoru otvori sql dump file koji importas i na vrhu prije svega stavi gornji query

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
hrv0j3



Joined: 03 Aug 2007
Posts: 34

PostPosted: 05.03.2009 14:16    Post subject: Add user to your forum ignore list Reply with quote

hm..oke... a kako da u sql dump ubacim query? Very Happy ty!
Back to top
View user's profile Send private message MSN Messenger
base



Joined: 12 Jul 2007
Posts: 96

PostPosted: 05.03.2009 15:15    Post subject: Add user to your forum ignore list Reply with quote

Code:
mysql_query("set names utf8");
Back to top
View user's profile Send private message
hrv0j3



Joined: 03 Aug 2007
Posts: 34

PostPosted: 05.03.2009 16:12    Post subject: Add user to your forum ignore list Reply with quote

base a da procitas cijeli topic prije ovakvog odgovora?
Back to top
View user's profile Send private message MSN Messenger
hrv0j3



Joined: 03 Aug 2007
Posts: 34

PostPosted: 05.03.2009 16:41    Post subject: Add user to your forum ignore list Reply with quote

rijeseno, otvoren SQL dump i find & replace napravljen na sve znakove i zamjenjeni su s UTF-8 stand. oznakama tj. kodovima...

tnx!
Back to top
View user's profile Send private message MSN Messenger
base



Joined: 12 Jul 2007
Posts: 96

PostPosted: 05.03.2009 16:58    Post subject: Add user to your forum ignore list Reply with quote

za***b Smile
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group