LXTerm to accept ANSI characters

No it is not, you can use CSS to style any XML or SGML not just HTML.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays 
C:\>WIN                                     | A better way to focus the sun 
The computer obeys and wins.                |    licences available see 
You lose and Bill collects.                 |    http://www.sohara.org/
Reply to
Ahem A Rivet's Shot
Loading thread data ...

Just start your html page with:

End of.

--
Tim
Reply to
TimS

I expect Gujarati has its own font(s).

--
Tim
Reply to
TimS

Yes, as I said earlier, UTF-8 now in general just works with no hassle at all.

--
Chris Green
Reply to
Chris Green

Hence fontmap.

-- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. |

formatting link

Reply to
Ahem A Rivet's Shot

If you're using 'tidy', leave out the "" line, which gets objected to by 'tidy'. Simply starting the page with the two lines

is enough.

--
Martin    | martin at 
Gregorie  | gregorie dot org
Reply to
Martin Gregorie

"The Natural Philosopher" wrote

| > Not that it really matters. It's pretty much all ASCII. | > | >

|

:) I always wonder how people end up using these characters. There are ways to do it. I can copy the character from existing text. On Windows I think there's Charmap, though I've never used it. Schrodinger will just have to get by without his umlaut. Just as "naive" has survived without one.

Then there's the matter of the mechanical entry system. My keyboard only has ASCII and a few extras.

Where this really helps is with things like Chinese. But it only really helps them. For English speakers, we deal with pretty much all ASCII. And that's not the 1/2 of it. As you noted, if you want to write unicode you also need a unicode font. Browsers make it look simple, but for general text files it's not so simple. For example, I like to use Verdana for most text. But the font is not unicode. Windows will display UTF-8 as ANSI.

If I visit xinhuanet.com I see Chinese characters. (Even though it's all Greek to me.) If I check the source code I see Chinese. If I download that and open it in my code editor as UTF-8 with Verdana font, I see some of the languages. It looks like I'm getting Russian and Arabic, for example. But the Chinese is all little boxes. If I open it in Notepad, since it's plain text with no file header, it shows as English ANSI with lots of little boxes.

So it's a good solution for webpages, but once you get into entering, editing and storing multi-lingual text it gets very complicated. Only for those of us who speak English is it reasonable to say that UTF-8 makes everything easy. It does, but only because it's usually exactly the same byte string as ASCII. In fact, if I happen to come across UTF-8 text or HTML code I'll generally convert it to ASCII/ANSI for convenience. It's too much trouble trying to access it across different programs and displays at UTF-8. On Linux, where that's standard, it's fine. But we have to remember that this is representational file encoding. UTF-8 by itself is no miracle.

Microsoft are one of the sites that have used UTF-8 for years. It's all English on their English pages, but they spec it as UTF-8, use curly quotes and UTF-8 space characters. Neither is necessary and it complicates things. Both of these will work with an English codepage. The first should work anywhere:

“curly &#nbsp; quotes” “curly   quotes”
Reply to
Mayayana

"The Natural Philosopher" wrote

| CSS is part of HTML |

It's part of web design but it's an entirely different system and syntax. Though I suppose that's splitting hairs. STYLE is also an HTML attribute:

Heck, these days most people even think javascript is integral to HTML. There's no decency anymore. :)

Reply to
Mayayana

Not so! Unicode is the enabler for anyone who needs to handle multiple scripts and languages, sure if you just want CJK then you could use SHIFT-JIS but if you want to be able to hold text and not worry about what script or language it belongs to and mix scripts and languages freely then Unicode is the only solution.

As for the font problem - that is want fontmap was invented for. I thought Windows had something similar.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays 
C:\>WIN                                     | A better way to focus the sun 
The computer obeys and wins.                |    licences available see 
You lose and Bill collects.                 |    http://www.sohara.org/
Reply to
Ahem A Rivet's Shot

Not really, there's an important separation CSS applies to any XML or SGML not just HTML.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays 
C:\>WIN                                     | A better way to focus the sun 
The computer obeys and wins.                |    licences available see 
You lose and Bill collects.                 |    http://www.sohara.org/
Reply to
Ahem A Rivet's Shot

UTF-8 maps directly onto Unicode. Given the UTF-8 byte sequence, you can directly compute the Unicode value. UTF-8 has a number of advantages such as:

1) It is compatible with ASCII (which forms the bottom page of Unicode) 2) You can recover from a transmission error which may add or remove a byte or two.

So all those ANSI pages need to go in the bin, really speaking.

--
Tim
Reply to
TimS

You're lucky. I tried to enable the screen keyboard in Windows. Installing keyboards in other languages like hebrew and russion, as I have done, helps little, if you don't know where the keys are. What does Windows display? The German keyboard regardless of what is chosen as active at the time. Thank you Microsoft.

--




/ \  Mail | -- No unannounced, large, binary attachments, please! --
Reply to
Axel Berger

Yes, along with SHIFT-JIS and other specialised multi-byte encodings.

-- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. |

formatting link

Reply to
Ahem A Rivet's Shot

"Ahem A Rivet's Shot" wrote

| > It's part of web design but it's an entirely different system | > and syntax. Though I suppose that's splitting hairs. | | Not really, there's an important separation CSS applies to any XML | or SGML not just HTML. |

You snipped my example. The "cascading" part applies there. First is the CSS file. Then that's overridden by CSS in the STYLE tag of the page. Then that can be overridden by a STYLE attribute in the HTML tag. If you want pretty fonts for your XML that's up to you, but CSS is still deeply entagled with HTML. To not recognize that when writing webpages is to not know how to use it properly.

I know many people ar sticklers about keeping the CSS and HTML separate, but in practice it just doesn't work that way.

Reply to
Mayayana

Because it wasn't relevant to my point.

*IF* it is being applied to HTML - nothing about CSS requires that it be applied to HTML.

That is the point I can use XML without using HTML, and indeed often do - not so much for pretty fonts but for laying out XML data for viewing. Unlike HTML most XML has no display semantics at all and so CSS is

*required* to display it as anything other that slightly enhanced source.

I can also use HTML without using CSS. They are independent, but can and often are used cooperatively even though neither requires the other.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays 
C:\>WIN                                     | A better way to focus the sun 
The computer obeys and wins.                |    licences available see 
You lose and Bill collects.                 |    http://www.sohara.org/
Reply to
Ahem A Rivet's Shot

mine (mint MATE) has a caps lock key mapped to compose, so caps lock

That takes care of most of what I need.

--
Future generations will wonder in bemused amazement that the early  
twenty-first century?s developed world went into hysterical panic over a  
globally average temperature increase of a few tenths of a degree, and,  
on the basis of gross exaggerations of highly uncertain computer  
projections combined into implausible chains of inference, proceeded to  
contemplate a rollback of the industrial age. 

Richard Lindzen
Reply to
The Natural Philosopher

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.