Add UTF8 support and basic management of file length.
To support special characters and various languages I add UTF8 support, (thanks to @pabler).
And add minimal check of file length.
To support special characters and various languages I add UTF8 support, (thanks to @pabler).
And add minimal check of file length.