Permalink
Browse files

treat iso-8859-15 as if it was iso-8859-1, at least for now

  • Loading branch information...
1 parent 088b6f4 commit 322c8cc7365e48e73a732c6e5bbb99ca6a9b6b25 Jonas Bergsten committed with Richard Carlsson Feb 19, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/erlsom_lib.erl
View
4 src/erlsom_lib.erl
@@ -601,6 +601,10 @@ encoding_type(Cs) when is_list(Cs) ->
"iso_8859_1" -> 'iso-8859-1';
"iso_8859-1" -> 'iso-8859-1';
"iso8859-1" -> 'iso-8859-1';
+ "iso-8859-15" -> 'iso-8859-1';
+ "iso_8859_15" -> 'iso-8859-1';
+ "iso_8859-15" -> 'iso-8859-1';
+ "iso8859-15" -> 'iso-8859-1';
"utf-8" -> 'utf-8';
"utf_8" -> 'utf-8';
_ -> false

0 comments on commit 322c8cc

Please sign in to comment.