iconv - work for "blob" , not for "varchar"

Discussion in 'PHP' started by mirian, Oct 5, 2008.

  1. #1
    Hello all!

    I’ve a strange problem.
    I use "iconv" function to convert some fields retrieved from a database from"winows-1255" to "utf-8". All works fine for "blob" fields, but when I tried ti convert in the same way a field of type "varchar(20)" I got a gibberish string.

    I don't know what is the difference and how solve it (I cannot convert the varchar to blob ...:confused:)

    Thank you!
    Miriam
     
    mirian, Oct 5, 2008 IP