This repository has been archived by the owner on Aug 17, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaced split_line with a multibyte aware version
split_line was working fine as long as the input was just plain US-ASCII. When using multibyte characters and they happened to be at the end of the line to spit the function did panic. The new code returns correctly split lines even if they contain multibyte characters.
- Loading branch information