SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2002
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Problem with Euro Sign when form submitted from Mac

    Hi,

    I searched the site but couldn't find an answer.

    I have the problem with the Euro sign, when a form is submitted from a browser running on a Mac (Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/73 (KHTML, like Gecko) Safari/73).

    The form saves an html file on a linux server. The Euro sign is then stored as a question mark (?).

    Any idea how this behaviour can be changed?

    Thanks,

    Klaus

  2. #2
    Sidewalking anode's Avatar
    Join Date
    Mar 2001
    Location
    Philadelphia, US
    Posts
    2,205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try $string = str_replace('', '€' $string) I'm using Safari right now, and it's showing up fine without the entity, so your problem may be elsewhere, though.
    TuitionFree a free library for the self-taught
    Anode Says... Blogging For Your Pleasure

  3. #3
    SitePoint Member
    Join Date
    Mar 2002
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anode,

    thanks for the advice. This solved part of the problem.

    It seems that the "?" shows up when the wrong char-set is used for the page.

    Thanks,

    Klaus


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
  •