473,395 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 3797
Dormilich
8,658 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,658 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,658 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,658 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,658 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,658 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,658 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,658 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,658 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,658 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

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

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
6
by: bayram guzer | last post by:
hi everybody, i have very strange error. i can not see some of the asp pages on my browser. when i look from view source, all the source is there but browser does not show anything, just an empty...
8
by: lawrence | last post by:
I'm learning Javascript. I downloaded a script for study. Please tell me how the variable "loop" can have scope in the first function when it is altered in the second function? It is not defined...
4
by: Wladimir Borsov | last post by:
Ok, think of let say 10 different web pages on the internet. Each of them are usual html web pages. Nothing special. What I want to do now is to create a new meta resp. grouping web page which...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
4
by: pavanip | last post by:
Hi, I want to popup aspx page using jquery. I have written the following code <a href="Contactus.aspx?TB_iframe=true&height=250&width=200" class="thickbox" >AboutUs</a> I have called...
1
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
1
by: Sarvesh1989 | last post by:
I have one main div & in that main div i have included 2 differrent div it show good result in firefox but in ie it doesn't show that same result div just get one above the other.plz do help me. ...
6
by: neovantage | last post by:
Hey all, i have installed Uber uploader on my server. and it is working perfectly. It shows progress bar after submitting form. I want that when i upload an image or a file it shows the progress in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.