projects
/
libs
/
core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc2280c
)
Fix the name of the UTF-16 codec
author
Mikko Rasa
<tdb@tdb.fi>
Tue, 4 Sep 2012 20:12:37 +0000
(23:12 +0300)
committer
Mikko Rasa
<tdb@tdb.fi>
Tue, 4 Sep 2012 20:12:37 +0000
(23:12 +0300)
source/stringcodec/utf16.h
patch
|
blob
|
history
diff --git
a/source/stringcodec/utf16.h
b/source/stringcodec/utf16.h
index 729ab2ef74355d5d80476d3ce34f4f4667d67a2c..7fecf1efaad4ef7918da7b6ed8aa3f4122b69ef3 100644
(file)
--- a/
source/stringcodec/utf16.h
+++ b/
source/stringcodec/utf16.h
@@
-58,7
+58,7
@@
public:
{ }
virtual const char *get_name() const
- { return endian==BIG ? "UTF-16-BE" :
"UTF-16-LE
"; }
+ { return endian==BIG ? "UTF-16-BE" :
endian==LITTLE ? "UTF-16-LE" : "UTF-16
"; }
virtual Encoder *create_encoder(ErrorMode em = DEFAULT) const
{ return new Encoder(get_error_mode(em), endian); }