I've got an sh-script running on my server to fetch newsheadlines from the web using wget and sed.
The output are produced as an UTF-8 file, and my apache is iso-8859-1. This means all special-chars (like æøå in norwegian) are displayed wrong when the output-file are displayed on my webpage (with <? include('outputfile.txt'); ?>).
How can I force output to iso-8859-1? Either with a commandtool or php?
EDIT: Found it out myself:
iconv --from-code=UTF-8 --to-code=ISO-8859-1 inputfile.txt > outputfile.txt