Closed dariovasconcelos closed 3 months ago
I think I might've fixed this. This is similar to the Danish character problem I encountered.
Can you try 5.0.1 - when I release it in a few minutes - and see if the problem is still there?
Technical explanation: I was using high 8-bit chars as tokens. Now I'm using "guaranteed unused" high 16-bit Unicode codepoints instead.
Thanks!
(And sorry for taking a few days to notice your Issue.)
Thanks! But it's giving me the same problem :(
This is my output:
Open source project: https://github.com/MartinPacker/md2pptx
External Dependencies:
Python: 3.11.4 python-pptx: 0.6.23 Pillow: 10.4.0 CairoSVG: Not Installed graphviz: Not Installed
Internal Dependencies:
funnel: 0.1 runPython: 0.2
My file is UTF-8 with Unicode: ReporteAssessment.md: Unicode text, UTF-8 text
The strange thing about this issue is that most accentuated characters work, only í doesn't
Thanks again!
Thank you. Do you have a Unicode code point for it. That will help me investigate.
I also encountered the conversion error problem when using Simplified Chinese. I solved the problem by changing the 4924th line of code in md2pptx
with input_path.open(mode='r', encoding='utf-8') as file:
Thank you. We will need to test such a change extensively - to make sure it doesn't muck anything else up.
So, I've run this through 2 (not terribly challenging) presentations and it works.
So please test with the commit I just made (5.0.1+ 25 July when you run it.)
Shipped in v5.0.2. Keeping this open for a while - in case there are regressions.
Closing. Feel free to reopen.
All accentuated characters work correctly with the exception of "í", which generates a ">" on the final PPT