Closed jluis closed 7 years ago
@kablamo are you happy with this :) ?
Gah @ranguard I really have no idea. This unicode stuff is beyond me and trying to figure it out has stopped being fun. I'd say the tests pass and it solves his problem and doesn't break existing tests so I'm all for merging it. Sorry I'm not more useful here!
Thanks @jluis appreciate the work you've done
When _wrap_utf8 is called $key and $value contain a strean of octets encoded on UTF-8 but we need the secuence of characters to calculate the where to wrap (or 'fold') the line
The t/unwrap.vcf is from pull request #38 test for isue #37
Signed-off-by: Jose Luis Perez Diez jluis@escomposlinux.org