Em 17-05-2014 15:34, Ken Moffat escreveu: > Somebody asked on lfs-dev about changing LFS to produce UTF-8 html. > I think we ought to do that, but arguably we have a greater need in > BLFS - the changelog entry for 31st March includes Igor's surname, > but the page is described as 8859-1 so firefox defaults to > displaying Živković instead of Živković (that can be changed in > View -> Character Encoding but it needs to be done for each page. > > The encoding is in each xml file, and also in some stylesheets. > The following looks as if it does the right thing: > > In the BOOK/ directory (trunk/BOOK), or svn copy trunk/BOOK > branches/unicode for any editors who want to try this - > > find -type f | xargs sed -i > 's/encoding="ISO-8859-1"/encoding="UTF-8"/' > > Note: this does NOT change the stylesheets, or the images, which > are still marked as 8859-1. The regular html is now all unicode, so > firefox knows how to handle any non-ASCII characters. I don't have > the tools to attempt to build the PDF. > > Guys, I think we ought to do this, what do you think (for BLFS) ? > > ĸen >
It is a good idea, in general, and particular I wanted to have Igor's surname correctly displayed. This is probably also necessary for Portuguese, French, Spanish... -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
