tags:

views:

43

answers:

1

how to change the output encoding, while displaying a file through php

+3  A: 

Use header('Content-type: text/foo; charset=bar'); to set the appropriate encoding, and use iconv to change the actual encoding of the file you are displaying if it does not match.

Victor Nicollet