SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    strange problem: "" becomes "é" in mysql. No idea why...

    hi,
    i really have a strange problem. i have a form. when the form is submitted, the data is inserted in the db. the strange thing is that, in mysql, letters like , , are translated into stuff like that: é è.

    i really don't know why and i can't figure it out. i don't use htmlentities before the db or anything else. all i do is trim the incoming data and addslahes....

    does anyone have the slightest idea of what's happening?

  2. #2
    SitePoint Enthusiast
    Join Date
    Jan 2005
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What kind of table row are you putting it in? Varchar? Text?

  3. #3
    SitePoint Wizard
    Join Date
    Jan 2005
    Location
    blahblahblah
    Posts
    1,447
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for your reply, I already feel relieved

    all the problematic fields are with VarChar



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
  •