Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to get åäö with Ajax?

  1. #1
    Join Date
    Jul 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to get åäö with Ajax?

    1) Script Title: Ajax Tab Content Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...axtabscontent/

    3) Describe problem:

    Anyone know if using this where it read from a source, if i can add a line or something so that it can read åäö signs.

    Great place
    -Abxi-

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    As far as I know, no one has solved this to anyone's satisfaction. I always advise people to try hex value entities on the source document, if you know what they are, for example, for å you can use:

    HTML Code:
    å
    I also ask folks to try the javascript escaped hex value (in this case):

    Code:
    \xe5
    also on the source document.

    Another approach is to make sure that your server's HTTP header is configured for the proper character set. This has nothing to do with the meta content-type tag but, rather with the server's configuration. Information on this is available at:

    http://www.w3.org/International/ques...access-charset

    and other places about the web:

    http://www.google.com/search?client=...utf-8&oe=utf-8

    Please let us know if you have success with any of these approaches or need more help with any of them.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well writting the html and the characters number works in this ajax script.

    For the ones i needed its; (cant specify with = in the code lol makes it the character

    Omg rape the ****ing quotes no more ****ing tires .. **** it!

    i had a site with a list of all the characters number otherwise just check characters at the windows. The combo to write the character alt + 0229 for å. Think logical remove the 0 and u got 229 which is the characters number.

    Using the xe5 hex works as well :P, of course it would also be like å,

    -Abxi-
    Last edited by Abxi; 08-25-2006 at 11:03 PM.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Named references are always easier to remember. For example, å would be å.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Twey
    Named references are always easier to remember. For example, å would be å.
    Easier to remember perhaps but, with my sieve for a brain and a decent text editor that has a character map as well as reporting the hex and the decimal code of any character that the cursor is over, which would you choose to use? Especially considering that not all characters have named entities. (ò.ó)
    Last edited by jscheuer1; 08-26-2006 at 08:28 AM. Reason: Just getting cute
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Quote Originally Posted by John
    Easier to remember perhaps but, with my sieve for a brain and a decent text editor that has a character map as well as reporting the hex and the decimal code of any character that the cursor is over, which would you choose to use?
    Heh.
    Especially considering that not all characters have named entities. (ò.&#243
    All the main Latin-based ones do. (ó.ō)
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Twey
    Heh.All the main Latin-based ones do. (ó.ō)
    That still doesn't help with my mnemonic problems. (Every Good Boy Does Fine meets ROY G BIV - no room left at the inn)
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    A musician, eh?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You left out spectral analysis physicist and comparative religions scholar.

    Actually, none of the above, at the moment.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #10
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Heh.
    comparative religions scholar
    Not a pass-time I'd willingly take up, I must say
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •