nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/core: Renamed `Text::bytelen` to `Text::byte_length`
[nit.git]
/
lib
/
core
/
codecs
/
iso8859_1.nit
diff --git
a/lib/core/codecs/iso8859_1.nit
b/lib/core/codecs/iso8859_1.nit
index
02c39ef
..
21ea8a8
100644
(file)
--- a/
lib/core/codecs/iso8859_1.nit
+++ b/
lib/core/codecs/iso8859_1.nit
@@
-40,7
+40,7
@@
private class ISO88591Codec
end
redef fun encode_string(s) do
- var ns = new Bytes.with_capacity(s.bytelen)
+ var ns = new Bytes.with_capacity(s.byte_length)
add_string_to(s, ns)
return ns
end