Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

page encoding problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
lordaya
Smarty Rookie


Joined: 16 Sep 2007
Posts: 16

PostPosted: Sat May 24, 2008 9:29 pm    Post subject: page encoding problem Reply with quote

hello,

i have a html page with encoding utf-8

when i made it as template and go to the page i see a white screen

i think becasue im calling things from with encoding windows-1256

becasue when i add new article for example the addition page encoding is windows-1256

so when i fetch it in the utf-8 template

the template dont show

m i wrong?
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Sat May 24, 2008 11:18 pm    Post subject: Reply with quote

If you get a white page you must have another problem. The operation of Samrty is transperent regarding charsets. It does not even know about it.
Back to top
View user's profile Send private message
lordaya
Smarty Rookie


Joined: 16 Sep 2007
Posts: 16

PostPosted: Sun May 25, 2008 8:00 am    Post subject: Reply with quote

maybe ajax or javascript problems?
Back to top
View user's profile Send private message
lordaya
Smarty Rookie


Joined: 16 Sep 2007
Posts: 16

PostPosted: Sun May 25, 2008 8:04 am    Post subject: Reply with quote

but i have changed the page encoding to windows-1256 and the page displayed but in bad shap

and i have changed it one more to utf-8 but the page dont show

so i think its charset encoding 100%
Back to top
View user's profile Send private message
SGBoise
Smarty Rookie


Joined: 28 Mar 2008
Posts: 27
Location: GamePacks.org

PostPosted: Sat May 31, 2008 11:08 pm    Post subject: Reply with quote

Are you pulling the data from mysql? You can need to configure your connection and tables to utf charset.
_________________
GamePacks.org - Products for the Arcade/Media Community
Video Script - The ultimate media site script
AutoVideoScript.com - Run your own youtube sharing site
Back to top
View user's profile Send private message
primat
Smarty n00b


Joined: 01 Jun 2008
Posts: 1

PostPosted: Sun Jun 01, 2008 7:30 pm    Post subject: Reply with quote

Most of the time I get a blank page is because there was a php error but php.ini was set to not display erros so I'd get a blank page.

I'd say, make sure you're displaying php erros, otherwise the question is an interesting one indeed.

It can also happen that even if you have an encoding tag set to a particular encoding, that the page itself was saved in the proper format. If you use dreamweaver, you can check the encoding by going to 'Modify > Page Properties' and see what encoding the page uses.
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.    Smarty Forum Index -> General All times are GMT
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
Protected by Anti-Spam ACP