Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UTF-8 fix for www/yman.yaws and served man pages
Yaws built with autotools or rebar would crash while trying to serve man pages if os:cmd/1 returned utf-8 encoded strings. - www/yman.yaws Using unicode:characters_to_binary/1 for correct encoding Issue #212 solves this in a similar way. - www/TAB.inc Changed charset to utf-8 in <head> to handle splitting long words in line boundary ("â€" => "-"). As far as I know unicode:characters_to_binary(Data) wouldn't be a problem even if the input is in latin1 because according to the doc: Data = latin1_chardata() | chardata() | external_chardata() ISO-8859-1 is also compatible with UTF-8 therefore changing the charset shouldn't be the problem either.
- Loading branch information