SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: utf8 encoding

  1. #1
    SitePoint Addict Banana Man's Avatar
    Join Date
    Dec 2005
    Posts
    391
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    utf8 encoding

    Hi,

    I am trying to upload some Swedish text into a mysql database. Before i upload it i am using the utf8_encode() function to translate it into utf8 format. This works fine on lowercase characters but it doesnt seem to do anything for uppercase. Does anyone know what the issue is with the uppercase?

    At the moment i am having to translate the uppercase characters using htmlentities() so now i have a combination of utf8_encode() and htmlentities() in all my database text.

    Thanks

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,508
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    Take a look at this user note in the php reference manual: http://it.php.net/manual/en/function...ode.php#104906


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
  •