Results 1 to 5 of 5

Thread: problem with characters...

  1. #1
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    27
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Unhappy problem with characters...

    Hello everyone!

    I hoppe i'm on the right place to place this question...

    I'm using the menu that is on the following tutorial as a language selection menu:

    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    Everything works just great. The problem is that I need to use other charachers besides the english ones, such as „ Í ű Ū ž Ů Á Ś Ų š and probably more. Once I type them, for example in the word "EspaŮol" or "PortuguÍs", the result is a bunch of very weird charachters...

    So, my question is: Is there any way to solve this situation?


    Thank you so much in advance!

    Jo„o Figueiredo

  2. #2
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    27
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Anyone?? Please?? I'm sure that this is a very simple issue, but I'm just a designer...

  3. #3
    Join Date
    Jan 2011
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Go here and scroll down to the bottom of the page. You'll see the HTML code for these special characters:

    http://www.w3schools.com/tags/ref_entities.asp

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Bom dia!

    The computer needs to know to interpret these characters in that way, rather than as another character encoding format. The default for your page does not match encoding them that way (when you cut and paste).
    The best method would be to add a character encoding meta tag:
    http://www.w3.org/International/O-charset

    UTF8 is probably the best, compatible option. You will need to use one though that actually matches the input, but UTF8 is a good guess. Unicode is pretty standard.


    Alternatively, using HTML entities as in the post above is a very easy alternative, but it can be annoying to change every character in that way. It depends on how much content you have.
    Daniel - Freelance Web Design | <?php?> | <html>| espaŮol | Deutsch | italiano | portuguÍs | catalŗ | un peu de franÁais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,876
    Thanks
    49
    Thanked 264 Times in 256 Posts
    Blog Entries
    56

    Default

    I always use this for my foreign characters..
    ===
    Arie Molendijk.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •