Nov-11-2023, 06:23 PM
(Nov-11-2023, 12:44 PM)buran Wrote: https://www.compart.com/en/unicode/U+000DYes, it is a CR.
I found that" \n" is replaced by " _X000D_ ", in the text, but not removed.
Removing "_X000D_" with python, after the replacement of '\n', seems a tall order.
Very confusing info on the internet. Maybe Unicode helps.
There is always the kiss method. In this case ctrl-H on the final txt file. Replace "_X000D_"
with nothing.
Not a very pythonesk solution, until I have tested with the CR unicode equivalent.
Thanks,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.