Re: lug-bg: nsgmls problem: non SGML character number 255
- Subject: Re: lug-bg: nsgmls problem: non SGML character number 255
- From: mitko@xxxxxxx (Dimitar Peikov)
- Date: Tue, 5 Mar 2002 10:34:49 +0200
On Mon, 4 Mar 2002 20:13:43 +0200
George Danchev <danchev@xxxxxxxxx> wrote:
> Çäðàâåéòå,
> òîâà íå å íîâ ïðîáëåì èëè ïúê àç íåùî íå ñúì â ÷àñ ñ ðåøåíèåòî ìó.
> àêî â SGML äîêóìåíòà èìà áúëãàðñêî ìàëêî [ÿ] , nsgmls èçïëþâà ñëåäíîòî:
>
> debiandoc2html apt-howto-en.sgml
> nsgmls:apt-howto-en.sgml:14:0:E: non SGML character number 255
>
> è ñúîòâåòíî îòêàçâà äà ãåíåðîâà ...
>
> ñ âñè÷êè îñòàíàëè áã ñèìâîëè (àêî íÿìà [ÿ])
> nsgmls ãåíåðèðà õòìë äîêóìåíòà ñúñ ñëåäíèÿ warning:
>
> debiandoc2html apt-howto-en.sgml
> Warning: locale bg_BG not supported, using default en_US.ISO8859-1
>
ne znaja kak raboti 'nsgmls' no izxozdajki ot opita mi s XML/XSLT transformaciite, simvolite se opeobrazuvat vatreshno kam UTF-16 i taka se obrabotvat. Poradi fakta che ISO8859-1 encoding-a definira 'ÿ' kato specialen simvol, obratnoto mu vrushtane kam 8-bit vodi do zaguba na stojnostta mu. V tozi sluchaj po pravilno bi bilo da polzvash ÿ ili ± vmesto simvol s cod 255. No po dobre bi bilo da se pishat documentite koito sadarzat symvoli nad 128 izpolzvajki UNICODE, UTF-16, UTF-8 ili s dve dumi multibyte format. Vsqko drugo reshenie bi bilo netochno.
> è ïîñëå â õòìë äîêóìåíòà ñå íàëàãà äà ñìåíÿ charset=iso-8859-1 íà
> charset=windows-1251 è äà ñëîæà [ÿ]-òàòà ïî ìåñòàòà èì. Âå÷å âñè÷êî å ÎÊ:).
>
> Ìèñëÿ äà úïäåéòíà ïðåâîäà íà APT-HOWTO,
> íî òàçè ïðîöåäóðà "could be a bitch" :-(
>
> Îñâåí òîâà ïîðàäè òàçè ïðè÷èíà ïðåâîäà íå ìîæå äà áúäå
> âêëþ÷åí â official apt-howto (èëè apt-howto-{lang}) ïàêåòà, äîðè è
> maintainer-a äà èìà æåëàíèå. Ìíîãî ãðîçíî :(
>
> Ñèñòåìàòà å êèðèëèçèðàíà ïî ïðàâèëíèÿ íà÷èí (debian way, no hacks)
> è ïîäîáíè ïðîáëåìè ñ äðóãè locale-aware apps íÿìàì.
>
> LANG=bg_BG
> date
> Ïí Ìàð 4 20:04:33 EET 2002
>
> Àêî ïðîáëåìà å â nsgmls (îò ïàêåòà jade), ìîæå ëè äà ãî
> ñáîðèì íÿêàê èëè ùå ñå ìú÷èì êàòî ïðàáúëãàðè ?
>
> --
> Greets,
> fr33zb1
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
>
--
Dimitar Peikov
Programmer Analyst
Globalization Group
"We Build e-Business"
RILA Solutions
27 Building, Acad.G.Bonchev Str.
1113 Sofia, Bulgaria
phone: (+359 2) 9797320
phone: (+359 2) 9797300
fax: (+359 2) 9733355
http://www.rila.com
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|