Results 1 to 5 of 5

Thread: Dynamic Ajax content

  1. #1
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dynamic Ajax content (Load an external page)

    Dynamic Ajax Content
    http://www.dynamicdrive.com/dynamici...jaxcontent.htm


    Can somebody tell me how to set "charset=windows-1250" inside external pages? Inserted external pages through this script were converted to other charset.

    Thx
    Last edited by Nace; 11-10-2005 at 07:54 PM.

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

    Default

    It ought to use the same charset as the rest of the page.
    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!

  3. #3
    Join Date
    Nov 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I use "charset=UTF-8" and I converted all external pages to UTF-8. Now work!

    Thx anyway.

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

    Angry Very Difficult for non-english.

    Right, that is one solution but not the best.

    The script should leave inctact the charset.

    For me is not easy to change every external file to utf-8, imagine we want to use hundreds, even more because after changing the files to utf-8, it changes all the characters and is very difficult to handle with them when I want to modify some text in a normal editor.

    My mother language is spanish, and is easier for me to understand and Write á é í ó ú than á é Ã* ó ú (i had never seen them and don't have any idea how to write them in my keyboard) and this is a silly and easy example...

    For these reasons I think this ajax script should show the document charsets intacts like they originally are.

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

    Default

    The script should leave inctact the charset.
    ...
    For these reasons I think this ajax script should show the document charsets intacts like they originally are.
    I'm sure it should, but I'm afraid that's just not possible. A <meta> tag, not the best of ideas anyway, needs to go in the head; this AJAX script won't necessarily be able to write to the head.
    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
  •