SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Jan 2007
    Posts
    967
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    foreign characters in email

    I'm loading some data off a csv into mysql and I'm noticing that some of the emails have foreign characters which aren't processing correctly. How is this addressed? Thanks. -E

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Through consistency (the MySQL database, MySQL table, MySQL CONNECTION encoding should ALL be set to utf8, or whatever encoding hte mails are in), and by avoiding using any PHP string manipulation functions, because they're not safe for multibyte encodings.


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
  •