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
MSSQL i hrvatski znakovi

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



Joined: 05 Jan 2006
Posts: 365
Location: Mostar

PostPosted: 31.07.2008 08:38    Post subject: MSSQL i hrvatski znakovi Add user to your forum ignore list Reply with quote

Imam sljedeću situaciju:

podaci u bazi su spašeni kao ščćžĐ u kolonu tipa Nvarchar. SQL Collation kolone je SQL Latin 1General CP1 CI AS

Šta trebam uraditi da bih te znakove dobio na prikazu web stranice ispravno a ne kao upitnike (charset na stranici je UTF-Cool

Any suggestions??

_________________
There is no style definition for good music!
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Moebius



Joined: 26 Jan 2004
Posts: 245
Location: zagreb

PostPosted: 31.07.2008 08:44    Post subject: Add user to your forum ignore list Reply with quote

U web config (pretpostavljam da radis u asp.net2.0) stavi unutar system.web-a:
Code:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="hr-HR" uiCulture="hr" />
Back to top
View user's profile Send private message Visit poster's website
fun.ky



Joined: 05 Jan 2006
Posts: 365
Location: Mostar

PostPosted: 31.07.2008 08:47    Post subject: Add user to your forum ignore list Reply with quote

E da Smile radim sa PHP-om

Inače radi se o sistemu za kladionicu (njihova baza je MS SQL) koji je povezan sa WEB Max CMS-om (koji je urađen u PHP-u - njegova baza je MySQL, i podržava konekcijen na različite baze istovremeno).

_________________
There is no style definition for good music!
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Moebius



Joined: 26 Jan 2004
Posts: 245
Location: zagreb

PostPosted: 31.07.2008 09:38    Post subject: Add user to your forum ignore list Reply with quote

mozes probati sa starim dobrim windows-1250 charsertom.
Back to top
View user's profile Send private message Visit poster's website
ghosap



Joined: 18 Sep 2003
Posts: 79

PostPosted: 31.07.2008 11:43    Post subject: Add user to your forum ignore list Reply with quote

Pogledaj php iconv : LINK

_________________
. . . and when the balance is lost all that is left is the reckening . . .
Back to top
View user's profile Send private message
fun.ky



Joined: 05 Jan 2006
Posts: 365
Location: Mostar

PostPosted: 01.08.2008 05:52    Post subject: Add user to your forum ignore list Reply with quote

Hvala iconv je riješio situaciju - evo za ostale $utf8Tekst = iconv('windows-1250', 'utf-8', $teskt)

Smile

_________________
There is no style definition for good music!
Back to top
View user's profile Send private message Visit poster's website Twitter profile
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