Closed Poetastrophe closed 1 year ago
Things magically work when I use
$ export RUBYOPT="-KU -E utf-8:utf-8"
I don't understand why ;)
Ah very good. I'll see what I can do. I'm away on holidays at the moment so it'll be at least a week. I'm also surprised the string isn't utf8 by default.
On Fri, 12 Aug 2022, 10:53 Christoffer Rasmussen, @.***> wrote:
Things magically work when I use
$ export RUBYOPT="-KU -E utf-8:utf-8"
I don't understand why ;)
— Reply to this email directly, view it on GitHub https://github.com/patrickdavey/vimwiki_markdown/issues/44#issuecomment-1212935071, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEGEXPUVJ54AXMSLG6UFJLVYYNK7ANCNFSM56LBT4CQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
This is a little bit interesting. I don't quite understand how the input file is being treated like that. Can you attach the .md file here, I'm just curious to see exactly how it is encoded.
Also, can you run vim and then type :set fileencodings
and let me know what it prints out.
Bit strange. I tried copying that text into a file and converting it. Mine correctly was written out as UTF-8 and converted fine.
What operating system are you using?
Closing as cannot reproduce. Please re-open if you can either supply the file / give steps to reproduce :)
When file contains danish letters æøå the conversion won't happen.
To reproduce: