dn2l icon indicating copy to clipboard operation
dn2l copied to clipboard

Converted all pre-historic comments from cp866 to utf8

Open corvus1 opened this issue 4 years ago • 11 comments

The change is done by find -name "*.pas" -exec recode IBM866..UTF8 {} \; and nothing is tested, but I hope it helps.

corvus1 avatar Nov 01 '20 23:11 corvus1

The problem is that box drawing characters were probably converted also. And ancient Virtual Pascal knows nothing about UTF-8.

unxed avatar Nov 01 '20 23:11 unxed

So I guess it'll take some greping to convert only the comments and nothing else? Or is the box drawing you're referring to passed as comments as well? Anyway, you wanted to move to freepascal.

Looks beautiful on github, though. :-)

corvus1 avatar Nov 02 '20 00:11 corvus1

I guess the proper fix would be to start slowly and painfully translating it into English.

corvus1 avatar Nov 02 '20 01:11 corvus1

I guess the proper fix would be to start slowly and painfully translating it into English.

Why painfully? Just slowly :)

unxed avatar Nov 02 '20 14:11 unxed

So I guess it'll take some greping to convert only the comments and nothing else?

This will give us a mixture of 866 and utf8 inside the same file which I am not sure is a best direction to go.

unxed avatar Nov 02 '20 14:11 unxed

Oh well, I saw a few pretty lighthearted comments. With a bit of slang here and there. :-) Might be interesting to translate.

corvus1 avatar Nov 02 '20 15:11 corvus1

yeah, problematic. i suggest to not accept this commit. too buggy.

al-caveman avatar Nov 05 '20 10:11 al-caveman

yeah, problematic. i suggest to not accept this commit. too buggy.

Get outta here, while you still can. Angry Russians here, playing with fossilized software.

corvus1 avatar Nov 05 '20 10:11 corvus1

Everyone, meet my stalker. :-D

corvus1 avatar Nov 05 '20 10:11 corvus1

please remain civil. not sure what are you talking about.

al-caveman avatar Nov 05 '20 10:11 al-caveman

Stalker, please go meet your maker.

corvus1 avatar Nov 05 '20 10:11 corvus1