469,327 Members | 1,290 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

Does not show special chractors like on page when i include thickbox script in html

245 100+
hey all,
When i include thickbox scrip tin html document then it does not show special characters like "". But wrote question mark in firefox mozilla and alian characters in IE. But without including thickbox it works fine. How can i fix that issue. Kindly help me out to sort my Problem
Mar 17 '09 #1
21 3549
Dormilich
8,651 Expert Mod 8TB
looks like a charset mismatch. make sure that the charset of your HTML and the thickbox script match.

if that's not possible, try htmlentities() on the text.
Mar 17 '09 #2
neovantage
245 100+
Thanks a lotttttttttttttttt. htmlentities() function works fine. You are amazing man. Of my every problem you always have a solution on hand. In our country people like you are called Theta. Thanks a lot again. May you live long
Mar 17 '09 #3
Dormilich
8,651 Expert Mod 8TB
I only happen to use , , and a lot.
Mar 17 '09 #4
neovantage
245 100+
Hey Dormilich,
Hope you are doing good. I am getting again an error while using thickbox in my script. In IE 6 when i scroll down the page then it is the facility provided by thickbox that the pop up window remain in the middle of the page even if the page is too long. But it give jerks whle scrolling long page up n down the main window and pop up window give jerks in IE 6. Is ther any way that i can fix that problem as it is working fine in firefox mozilla. Awaiting of your reply and hope i got the solution of my problem again this time from your end as i got always.
Mar 19 '09 #5
Dormilich
8,651 Expert Mod 8TB
sounds like a Javascript problem, post it there.
Mar 19 '09 #6
neovantage
245 100+
what should i post sir. Javascript file of thickbox here? or i mean i don't get you.
Mar 19 '09 #7
Dormilich
8,651 Expert Mod 8TB
probably the best is to describe the problem and post a link to the page where it occurs (or maybe you could PM a PHP Mod and ask him to split the thread at this question).
Mar 19 '09 #8
neovantage
245 100+
Sir this project is not live yet. but i am sending you the pages in detail through PM to you
Mar 19 '09 #9
Dormilich
8,651 Expert Mod 8TB
better post it in the Javascript forum.
Mar 20 '09 #10
neovantage
245 100+
Sir my page is live now
Here is the link of my Problem.
http://www.ewconsultinginc.com/devel...icesandern.php

Firstly it did not shows the special characters.
Secondly When i clicked on some link and it open a window by blurring the current page and when i close the open window the current page disappear the background image from header menu and footer menu. How can i fixed that?
Apr 1 '09 #11
Dormilich
8,651 Expert Mod 8TB
@neovantage
looks like a charset mismatch again. It depends where you get the text from and how it is stored there (i.e. with which encoding). htmlentities() doesn't work properly, if the passed string has the wrong encoding. debugging this may take some time*.

@neovantage
can't verify that on FF 3.0.8, I see no changes.

* in my application I ended up with replacing all non-ascii characters by numeric entities, because my live server also had problems with utf-8 (unlike the localhost)

PS: some of your link texts need spell correction

PPS: you can pass to htmlentities() the encoding of the string, though that only helps if the string is not already screwed up.
Apr 1 '09 #12
neovantage
245 100+
But sir it is working fine at my local server. i even changed the character set from utf-8 to iso-8859-1 even then it is working fine locally but remotely does not working.

Is there any fixation of this?
Apr 1 '09 #13
neovantage
245 100+
Secondly When i clicked on some link and it open a window by blurring the current page and when i close the open window the current page disappear the background image from header menu and footer menu.
Sir this is working fine in in FF version 2 and higher but does not working in IE6
Apr 1 '09 #14
Dormilich
8,651 Expert Mod 8TB
I've had exactly the same problem...

can't help with the IE issue due to not having any IE.
Apr 1 '09 #15
neovantage
245 100+
and Sir what about fixing special characters?
Apr 1 '09 #16
Dormilich
8,651 Expert Mod 8TB
@Dormilich
currently I'm looking how I did that exactly....
Apr 1 '09 #17
neovantage
245 100+
* in my application I ended up with replacing all non-ascii characters by numeric entities, because my live server also had problems with utf-8 (unlike the localhost).
How can i replace all non-ascii characters by numeric entities? Will ypu please guide me.
Apr 1 '09 #18
Dormilich
8,651 Expert Mod 8TB
have a look at the comments section of utf8_decode(), there are several ways described.
Apr 1 '09 #19
neovantage
245 100+
Thank you very much brother. It works........!
Apr 1 '09 #20
Dormilich
8,651 Expert Mod 8TB
I'm glad you got it working.

nevertheless, make sure to perform a spell check on the site before releasing.
Apr 1 '09 #21
neovantage
245 100+
Yes i will do that. Actually the client of the company gave us the existing website where we are working. Sir this is my portfolio
http://www.mohsinrafique.com

Please give some time to my personal website and give me comments/bugs/critic because they are very valuable for me. I need the experts guide like you are.
Apr 1 '09 #22

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by bayram guzer | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.