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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neovantage
    New Member
    • Aug 2008
    • 245

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

    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
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    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.

    Comment

    • neovantage
      New Member
      • Aug 2008
      • 245

      #3
      Thanks a lottttttttttttt ttt. 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

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        I only happen to use ä, ö, ü and ß a lot.

        Comment

        • neovantage
          New Member
          • Aug 2008
          • 245

          #5
          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.

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            sounds like a Javascript problem, post it there.

            Comment

            • neovantage
              New Member
              • Aug 2008
              • 245

              #7
              what should i post sir. Javascript file of thickbox here? or i mean i don't get you.

              Comment

              • Dormilich
                Recognized Expert Expert
                • Aug 2008
                • 8694

                #8
                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).

                Comment

                • neovantage
                  New Member
                  • Aug 2008
                  • 245

                  #9
                  Sir this project is not live yet. but i am sending you the pages in detail through PM to you
                  Last edited by neovantage; Mar 19 '09, 02:58 PM. Reason: Spelling mistakes

                  Comment

                  • Dormilich
                    Recognized Expert Expert
                    • Aug 2008
                    • 8694

                    #10
                    better post it in the Javascript forum.

                    Comment

                    • neovantage
                      New Member
                      • Aug 2008
                      • 245

                      #11
                      Sir my page is live now
                      Here is the link of my Problem.


                      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?

                      Comment

                      • Dormilich
                        Recognized Expert Expert
                        • Aug 2008
                        • 8694

                        #12
                        Originally posted by neovantage
                        Firstly it did not shows the special characters.
                        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*.

                        Originally posted by neovantage
                        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.
                        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.

                        Comment

                        • neovantage
                          New Member
                          • Aug 2008
                          • 245

                          #13
                          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?

                          Comment

                          • neovantage
                            New Member
                            • Aug 2008
                            • 245

                            #14
                            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

                            Comment

                            • Dormilich
                              Recognized Expert Expert
                              • Aug 2008
                              • 8694

                              #15
                              I've had exactly the same problem...

                              can't help with the IE issue due to not having any IE.

                              Comment

                              Working...