Re: [MPlayer-DOCS] Re: pl/mplayer.1.txt
Hi, sorry I was busy these days, so I don't answer until now. Diego Biurrun wrote:
On Thu, Sep 23, 2004 at 10:42:12PM +0200, frogu wrote:
Pewnego pi?knego dnia Thu, Sep 23, 2004 at 10:29:18PM +0200, osobnik znany jako Diego Biurrun naskroba?:
also pl/mplayer.1.html has <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> and should have <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> for polish characters to display properly.
Fixed. Is the Czech man page displayed correctly?
I'm no czech but I don't think so. That is on my system I see some (R) characters and 1/4 chars... but when I paste it into mutt.. the characters become proper czech chars... that is in firefox I see POU(R)ITÍ, but when I paste it into mutt it becomes POU?ITÍ. So I think that I simply lack proper czech fonts, and the manpage is correctly displayed.
Polish guys are right. I checked txt and html manpage (czech and polish) today. No one apears right. Czech txt version looks terrible: some chars are washed out. HTML is other problem. I tested it yet on my home Debian, VectorLinux w/o localisation and W32 port of groff with various result, but no one is good. It looks like (allmost) every charcodes up to 127 are transcoded to &sthg; but in rules of US-ASCII. So console HTML viewers like lynx, which takes console fonts insted unicode works fine with proper font, but mozilla etc. does not. Every localisation informations (Czech-HOWTO etc.) I could find tells, there is no localisation solution for groff in PS and similar sense. For txt seems -Tlatin1 good, but groff crushes on some occasions. Sollution may be national chars replacement by similar ascii chars (like i change my name here from proper Jiří to Jiri ;-) ). In HTML can be sollution similar, if we pick &sthg; sequences and replace them with proper chars, then add <meta ..."iso8859-2"> tag. Without replacement meta tag does not make sense, because mozilla will allways display &sthg; in unicode meaning, meta information will be used on single chars only. Regards Jiri
Jiri, could you please check this?
Diego
_______________________________________________ MPlayer-DOCS mailing list MPlayer-DOCS@mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/mplayer-docs .
Jiri Heryan wrote:
Hi,
sorry I was busy these days, so I don't answer until now.
Diego Biurrun wrote:
On Thu, Sep 23, 2004 at 10:42:12PM +0200, frogu wrote:
Pewnego pi?knego dnia Thu, Sep 23, 2004 at 10:29:18PM +0200, osobnik znany jako Diego Biurrun naskroba?:
also pl/mplayer.1.html has <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> and should have <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> for polish characters to display properly.
Fixed. Is the Czech man page displayed correctly?
I'm no czech but I don't think so. That is on my system I see some (R) characters and 1/4 chars... but when I paste it into mutt.. the characters become proper czech chars... that is in firefox I see POU(R)ITÍ, but when I paste it into mutt it becomes POU?ITÍ. So I think that I simply lack proper czech fonts, and the manpage is correctly displayed.
Polish guys are right. I checked txt and html manpage (czech and polish) today. No one apears right. Czech txt version looks terrible: some chars are washed out.
HTML is other problem. I tested it yet on my home Debian, VectorLinux w/o localisation and W32 port of groff with various result, but no one is good. It looks like (allmost) every charcodes up to 127 are transcoded to &sthg; but in rules of US-ASCII. So console HTML viewers like
I mean ...every charcodes over 127...
lynx, which takes console fonts insted unicode works fine with proper font, but mozilla etc. does not.
Every localisation informations (Czech-HOWTO etc.) I could find tells, there is no localisation solution for groff in PS and similar sense.
For txt seems -Tlatin1 good, but groff crushes on some occasions. Sollution may be national chars replacement by similar ascii chars (like i change my name here from proper Jiří to Jiri ;-) ). In HTML can be sollution similar, if we pick &sthg; sequences and replace them with proper chars, then add <meta ..."iso8859-2"> tag. Without replacement meta tag does not make sense, because mozilla will allways display &sthg; in unicode meaning, meta information will be used on single chars only.
Regards
Jiri
Jiri, could you please check this?
Diego
_______________________________________________ MPlayer-DOCS mailing list MPlayer-DOCS@mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/mplayer-docs .
_______________________________________________ MPlayer-DOCS mailing list MPlayer-DOCS@mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/mplayer-docs .
Jiri Heryan writes:
Polish guys are right. I checked txt and html manpage (czech and polish) today. No one apears right. Czech txt version looks terrible: some chars are washed out.
Is it still a problem?
HTML is other problem. I tested it yet on my home Debian, VectorLinux w/o localisation and W32 port of groff with various result, but no one is good. It looks like (allmost) every charcodes up to 127 are transcoded to &sthg; but in rules of US-ASCII. So console HTML viewers like lynx, which takes console fonts insted unicode works fine with proper font, but mozilla etc. does not.
I added the proper encoding meta tag to Czech as well as Polish. Does it work for you now? Otherwise you could maybe provide me with a small sed script similar to the one the Polish guys did to replace entities by national characters. Diego
Pewnego pięknego dnia Fri, Sep 24, 2004 at 01:22:42PM +0200, osobnik znany jako Diego Biurrun naskrobał:
Is it still a problem? Polish HTML and TXT look fine to me.
frg. -- ...:FABRICATI DIEM, PVNC :http://frogu.emdej.com:... ..::GG: 1015221 .:::. JID: frogu@jabber.atman.pl::.. ::MPlayerPL Team -- http://mplayerpl.emdej.com::
Diego Biurrun wrote:
Jiri Heryan writes:
Polish guys are right. I checked txt and html manpage (czech and polish) today. No one apears right. Czech txt version looks terrible: some chars are washed out.
Is it still a problem?
No, it working fine for me now. I mean, there are missed divises at ends of hyphenated rows but this isn't big deal.
I added the proper encoding meta tag to Czech as well as Polish. Does it work for you now? Otherwise you could maybe provide me with a small sed script similar to the one the Polish guys did to replace entities by national characters.
Diego
Meta tag is fine but as I wrote (or would wrote) before, without entities replacement it does nothing. I was somehow missed Polish sed script, I will send my own on monday. Jiri
On Friday 24 of September 2004 09:32, Jiri Heryan wrote:
HTML is other problem. I tested it yet on my home Debian, VectorLinux w/o localisation and W32 port of groff with various result, but no one is good. It looks like (allmost) every charcodes up to 127 are transcoded to &sthg; but in rules of US-ASCII. So console HTML viewers like lynx, which takes console fonts insted unicode works fine with proper font, but mozilla etc. does not.
Every localisation informations (Czech-HOWTO etc.) I could find tells, there is no localisation solution for groff in PS and similar sense.
When it comes to groff-generatedhtml page there is one: groff -T html -mlatin2 (shoul work fine for Czech national chars), however it requires groff 1.19.1, which is ot available on mphq box. -- Maciek "paszczi" Paszta .::. paszczi(at)go2.pl .::. JID:macp(at)chrome.pl gg: 2810043 .::. Linux User #304533 .::. BLUG Member #0247 fingerprint: A484 C4D8 9CC7 2DA3 2F92 E68A 9056 D5CC F22E 4C89 PGP:pgp.mit.edu .::. MPlayerPL Team : mplayerpl.emdej.com
Hi, here I post sedscript to convert entities to L2 chars. It convert slovak letters also. My previous remark about missed divises in cz/mplayer.1.txt was wrong. I tested the same file at home and divises are there, so there is some font problem with my mozilla. To Maciej Paszta: Thanks for your script. I am offline on weekends, so I has my own done before I receive it, but the other people care is allways welcome. Regards Jiri #entity to czsklatin2 replacement 3 i<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> s/á/á/g s/Á/Á/g s/é/é/g s/É/É/g s/í/í/g s/Í/Í/g s/ó/ó/g s/Ó/Ó/g s/ú/ú/g s/Ú/Ú/g s/ý/ý/g s/Ý/Ý/g s/ù/ù/g s/Ù/Ù/g s/ä/ä/g s/Ä/Ä/g s/ë/ë/g s/Ë/Ë/g s/ö/ö/g s/Ö/Ö/g s/ü/ü/g s/Ü/Ü/g s/ì/ì/g s/Ì/Ì/g s/ô/ô/g s/Ô/Ô/g s/æ/æ/g s/Æ/Æ/g s/å/å/g s/Å/Å/g s/ñ/ñ/g s/Ñ/Ñ/g s/à/à/g s/À/À/g s/è/è/g s/È/È/g s/ï/ï/g s/Ï/Ï/g s/µ/µ/g s/¥/¥/g s/ò/ò/g s/Ò/Ò/g s/ø/ø/g s/Ø/Ø/g s/¹/¹/g s/©/©/g s/»/»/g s/«/«/g s/¾/Ÿ/g s/®/®/g #EOF
Jiri Heryan writes:
here I post sedscript to convert entities to L2 chars. It convert slovak letters also.
I installed on mphq and ran it once to update the man pages, please tell me if the result satisfies you. Diego
Diego Biurrun wrote:
Jiri Heryan writes:
here I post sedscript to convert entities to L2 chars. It convert slovak letters also.
I installed on mphq and ran it once to update the man pages, please tell me if the result satisfies you.
Diego
_______________________________________________
Result is fine. Thank you. However, I notice some hyphenated words in midle of lines: běží na mno- ha platformách <=> běží na mnoha platformách etc. It is hyphenated the same way at the same points as the text version is. Jiri
participants (4)
-
Diego Biurrun -
frogu@frogu.emdej.com -
Jiri Heryan -
Maciej Paszta