Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    Hello , i got an problem with letters and i dont know how to fix it hmm.

    Here is one image which will explane u whats the problem.



    So the letters "? ? ž š ? " i can see them normally on my browser tab bar , but on facebook it shows like hieroglyphics...

    Here is my html code :

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html lang="hr">
    <head>
        <title>Album Kandidata - Auto Škola Luki?</title>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
        <link rel="stylesheet" type="text/css" media="screen" href="../css/reset.css">
        <link rel="stylesheet" type="text/css" media="screen" href="../css/style.css">
        <link rel="stylesheet" type="text/css" media="screen" href="../css/grid_12.css">
        <link rel="stylesheet" type="text/css" media="screen" href="../css/demo.css">
        <script src="../js/jquery-1.7.min.js"></script>
     
    <link rel="stylesheet" href="../styles.css">
    <script src="../jquery.js"></script>
    <script src="../jquery.ubaplayer.min.js"></script>
    <script>
                $(function(){
                    $("#ubaPlayer").ubaPlayer({                         
                    codecs: [{name:"MP3", codec: 'audio/mpeg;'}]
                    });
    });
            </script>
     
        <script src="../js/jquery.easing.1.3.js"></script>
        <script src="../js/uCarousel.js"></script>
        <script src="../js/tms-0.4.1.js"></script>
        <script src="../js/cufon-yui.js"></script>
        <script src="../js/cufon-replace.js"></script>
        <script src="../js/FF-cash.js"></script>
       
        <script>
        $(document).ready(function(){
          $('.gallery')._TMS({
              show:0,
              pauseOnHover:true,
              prevBu:'.prev',
              nextBu:'.next',
              playBu:'.play',
              duration:700,
              preset:'fade',
              pagination:$('.img-pags').uCarousel({show:4,shift:0}),
              pagNums:false,
              slideshow:4500,
              numStatus:true,
              banners:false,
              waitBannerAnimation:false,
              progressBar:false
          })       
        })
      </script>
        <!--[if lt IE 8]>
          <div style=' clear: both; text-align:center; position: relative;'>
            <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode">
              <img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
            </a>
          </div>
        <![endif]-->
        <!--[if lt IE 9]>
              <script type="text/javascript" src="../js/html5.js"></script>
            <link rel="stylesheet" type="text/css" media="screen" href="../css/ie.css">
        <![endif]-->
    </head>
    <body>
    <div class="main">
        <div class="bg-img"></div>
    <!--==============================header=================================-->
        <header>
              <h1><a href="../index.html"><object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="74" id="movie_name">
    <param name="movie" value="logo.swf">
    <param name="wmode" value="transparent">
    <object type="application/x-shockwave-flash" data="../logo.swf" width="189" height="74" id="movie_name">
    <param name="wmode" value="transparent">
    <p>Molimo Vas instalirajte ili uklju?ite flash plugin</p>
    </object>
    </object>
                      </a></h1>
            <nav>
                <div class="social-icons">
                    <a href="https://www.facebook.com/pages/Auto-%C5%A1kola-luki%C4%87/266007560123965" class="icon-2"></a>
                    <a href="#" class="icon-1"></a>
                    <a href="#" id="icon-3"><ul class="controls">
                <li><a class="audioButton" href="../mp3/intro.mp3"></a></li>
    </ul></a>
                </div>
                <ul class="menu">
                    <li><a href="../index.html">Po?etna</a></li>
                    <li><a href="../o-nama.html">O Nama</a></li>
                    <li><a href="../novosti/index.html">Novosti</a></li>
                    <li><a href="../vozila.html">Vozila</a></li>
                    <li    class="current"><a href="../galerija/index.html">Galerija</a></li>
                    <li><a href="../online-upis.html">Online upis</a></li>
                    <li><a href="../kontakt.html">Kontakt</a></li>
                </ul>
            </nav>
        </header> 
    <!--==============================content================================-->
        <section id="content"><div class="ic"></div>
            <div class="container_12">
              <div class="grid_12">
                  <div id="slide">                 
                    <div class="gallery">
                        <ul class="items">
                            <li><img src="../images/B9.jpg" alt=""></li>
                            <li><img src="../images/B10.jpg" alt=""></li>
                            <li><img src="../images/B11.jpg" alt=""></li>
                            <li><img src="../images/B12.jpg" alt=""></li>
                            <li><img src="../images/B13.jpg" alt=""></li>
                            <li><img src="../images/B14.jpg" alt=""></li>
                            <li><img src="../images/B15.jpg" alt=""></li>
                            <li><img src="../images/B16.jpg" alt=""></li>
                        </ul>
                    </div>
                    <a href="#" class="prev"></a><a href="#" class="next"></a>
                </div>       
              </div>
              <div class="grid_12 top-1">
                <div class="block-3 box-shadow">
                    <h2 class="p4"><span class="color-1">Naša</span> galerija</h2>
                      <div class="pag">
                          <div class="img-pags">
                            <ul>
                              <li><a href="#"><span><img src="../images/A9.jpg" alt=""></span></a></li>
                              <li><a href="#"><span><img src="../images/A10.jpg" alt=""></span></a></li>
                              <li><a href="#"><span><img src="../images/A11.jpg" alt=""></span></a></li>
                              <li><a href="#"><span><img src="../images/A12.jpg" alt=""></span></a></li>
                              <li><a href="#"><span><img src="../images/A13.jpg" alt=""></span></a></li>
                              <li><a href="#"><span><img src="../images/A14.jpg" alt=""></span></a></li>
                              <li><a href="#"><span><img src="../images/A15.jpg" alt=""></span></a></li>
                              <li><a href="#"><span><img src="../images/A16.jpg" alt=""></span></a></li>                   
                            </ul> 
                          </div>                               
                      </div>
    <center>
    <a href="http://autoskolalukic.com/galerija/index.html" title="Prethodna"><font color="#C92801"><b><<</b></font></a>
    <a href="http://autoskolalukic.com/galerija/index.html"><font color="#C92801"><b>1</b></font></a>
    <a href="http://autoskolalukic.com/galerija/page-2.html"><font color="#C92801"><b>2</b></font></a>
    <a href="#" title="Sljede?a"><font color="#C92801"><b>>></b></font></a>
    </center>
                </div>
              </div>
              <div class="clear"></div>
            </div>
        </section>
    <!--==============================footer=================================-->
        <footer>
            &copy; Copyright 2013 <b>Auto Škola Luki?</b> | Sva prava zadržana.
    <br>
    Design and coding by : <a href="http://www.hqwebs.eu"><font color="#C92801"><b>HQWebs</b></font></a>
    <br>
    <a title="Posje?enost"
    href="http://statcounter.com/free-web-stats/"
    target="_blank"><img
    src="http://c.statcounter.com/8823840/0/6c4258af/0/"
    alt="site stats" style="border:none;"></a>
        </footer>       
    </div>   
    <script>
        Cufon.now();
    </script>
    </body>
    </html>
    Please help me how to fix it, thank you very much!

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Different charset, I'd think. Yours uses windows-1250, FB uses UTF-8.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    Aham , i had some problems with this charset , utf-8 didnt gave me the letters ? Š etc... And then i used windows-1250, now i changed it to utf-8 , and in browser everything is fine , but on facebook the problem is again the same. Hmmm maybe i should wait some hours , days for refresh or something ?

  5. #4
    Senior Member Webzarus's Avatar
    Join Date
    May 2011
    Location
    South Carolina Coast
    Posts
    3,322
    Member #
    27709
    Liked
    770 times
    I'm just guessing, I'm on a phone, but if you're creating a site that displays a foreign language ( some language other than what your browser language defaults to ), you also not only have to define the charset but also the language.

    Most large sites will have a browser sniffer in place to detect the users default language and either load content specific to the users browser, or load the appropriate language attribute into the code forcing the users browser to display the correct language. Typically, they just load content as they can control that ... They don't know if you have the proper language set loaded on your PC or will allow the proper language set to be loaded.

    In the top part of your source code there's a language attribute, looks like:

    Lang=en For English or
    Lang=es For Spanish or
    Lang=de For German

    And so on.

    Utf-8 is the most commonly used character descriptor these days, but many Asian languages are displayed propey with utf-7 or JIS.

  6. #5
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    Aham , well my website is only for bosnian + croatian speaking users , and we have " ? Š ? Ž ? " letters. And i am using this lang code :

    HTML Code:
    <html lang="hr" class="cufon-active cufon-ready">
    and this charset right now :

    HTML Code:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    but on facebook its still displaying as hieroglyphics... So can anyone explane me now , what should i do to fix it ? I want this letteres to be displayed on facebook like on website with "? Š ? ? Ž "

    Thank you

  7. #6
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    It may be the font they're using, then. Find out what font it is, and see if it has those glyphs in it.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  8. #7
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    The problem is the glyphs, so Ron was at least partly correct. The solution is that you need to HTML encode the glyphs, not just put them up as letters. Now, this gets a little trickier because your characters are Croatian...but not much.

    http://webdesign.maratz.com/lab/utf_table/ <-- here's a list I found of the Croatian HTML character entities (may not be complete...I don't speak a word of Croatian, and the only thing I know about Croatia is that you guys went Italy-level nuts during Euro 2012 whenever the national side won).

    To use an example, when you have this guy:
    ?
    You'll type:
    Code:
    ć
    And your problem will be magically solved. Repeat for any of the other non-standard characters.

    This is where a server-side language comes in really handy, by the way. You can take a passage like this and HTML encode it automatically so that this sort of thing is taken care of for you. In ASP/ASP.net, the syntax is Server.HTMLEncode (Whatever it is you're trying to encode). Not sure about other languages.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  9. #8
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    hmmm, tryed all solutions but no changes, btw i noticed whatever i do , if i remove a letter , if i add a letter , if i change a letter , on facebook its always displaying the same. Maybe i should wait some time ? Can you check is it same for you ? share on your wall at facebook this lik www.autoskolalukic.com and check it ... Hmmm what do you think , maybe i should wait some time and let it change ?

  10. #9
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    The encoding should have done it. I even changed my profile to show Croatian (Hrvatski) and it still showed the characters incorrectly.

    At this point, I'd have to chalk that up to a Facebook bug. The encoding matches. The characters are correctly encoded. When the languages match up, the problem still exists. You really can't do anything else.

    My guess is that the solution I gave to you...which, by the way, is something you should do not just in the title tag but anywhere the Croatian glyphs are used...isn't something FB knows about yet. I'd clean up all the glyphs on that page, post it, report it to them and see what they say. Make sure your code is clean of any errors, though...you don't want to give FB a copout here.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  11. #10
    Member Elvedin's Avatar
    Join Date
    Jan 2013
    Location
    Bosnia And Herzegowina
    Posts
    78
    Member #
    35009
    TheGame , the codes for letter ? ? etc... are working fine, i used this code for title :

    Code:
    <title>Početna - Auto Škola Lukić</title>
    And i added this code for description :

    Code:
    <meta name="description" content="Auto Škola sa preporukom | Provjerite zašto smo najbolji! ">

    And that i told you " Maybe i should wait some time to changes be applyed " it was right , after making some changes like that , you must wait some time )

    Now everything is fine , thread can be locked, thank you.


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:22 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com