help needed! php query result to xls (utf-8 or win1256 charset)

Discussion in 'PHP' started by afhayati, Aug 23, 2007.

  1. #1
    hi

    I'm trying to send a query result to a xls file but I can't set the charset to utf-8 or windown-1256 (arabic).

    my query result has non english characters.
    how to change the charset? & when?

    when making the xls rows using "\n" & "\t" ?
    or when trying to save the xls using "header" information?

    or both?

    please help me.
     
    afhayati, Aug 23, 2007 IP