Re: Parsing large amounts of data (200,000 entries) with XML?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Larry Serflaten (serflaten_at_usinternet.com)
Date: 03/17/04


Date: Wed, 17 Mar 2004 02:38:29 -0600


"Jim Carlock" <anonymous@127.0.0.1> wrote

> Encode the white-space as follows:
> <pre> </pre>
>
> The <pre> tag is used to make sure all white space is displayed as
> white space in all character sets. CRLF appear as CRLF, a tab is
> a tab, a blank space is " ". <g>
>
> I'd rather use the &#160; by specifying a default character set. But
> that means you're depending upon the browser to display the item,
> and if the browser is set to another character set, I'm not sure what
> will happen. I messed with the browser settings for making fonts
> smaller and forgot I changed it once, and reported someone's
> website as having a bug. She knew my browser setting was incorrect
> though and told me to fix my browser settings. I felt like a dummy
> reporting that her website was malfunctioning. I did learn one thing
> from it though. That whenever you set up a website, you should
> specify a default pitch size for your fonts, so people that play with
> their browser settings won't make your website look screwy ('cause
> I sure don't want to hear people yapping about my messy website
> that needs bigger fonts, when in actuality it's their browser settings
> causing the problems).
>
> I don't think it's the font that determines which character is displayed.
> Your statement that chr(194) is the A when inside an HTML file,
> seems odd. I can't duplicate that. Even with no character-set
> declaration within IE. You might want to check your character-set
> settings for IE. Click on View, then Encoding and see what's listed
> there. Mine is set for Auto-Select, Western European (Windows).
> That setting might change depending upon what the default charset
> is as defined in the <meta> tag in the <head> section.
>

Actually I can't get it to accept the windows font from the xsl file.
If I add an empty <head> section to the xsl file, then it adds a default
charset:

<META http-equiv="Content-Type" content="text/html; charset=UTF-16">

If I include the windows line, then that is included after the above, but
it will not produce an output as written. The file ends up empty.
I had added the windows line to the html file when I replied earlier
and that did fix the cells problem. Also the str variable in the routine
is properly filled (so I could save that to a file) but, as written, it
does not complete the task as it did at the start, I just get an empty file.

> That whenever you set up a website, you should specify a default
> pitch size for your fonts, ...

That has always bothered me about some sites. How can they know
what size I want the font to be at? I really have to move close to the
monitor for some sites that have locked fonts sizes set so small as to
be nearly un-readable. I *want* to be able to adjust the text settings,
(in fact I have a button set up for it on my toolbar, right beside the
printer icon) and those sites that lock their fonts to a specific size are
usually always way too small to be read comfortably! That could mean
I have a small monitor (17"), or I am using too large of dimensions for
the screen (1024 X 768), but that is what I want for development. Sure
menus are small, but for browsing I want to adjust the page text size....

Examples:
NY Times does it right:
http://www.nytimes.com/2004/03/17/national/17SUSP.html

FoxNews does not: (They do use ample whitespace and that helps)
http://www.foxnews.com/story/0,2933,114290,00.html

<Oh well!>
LFS



Relevant Pages

  • Re: Mac OS X font problems
    ... Large anti-aliased fonts are very easy to read, ... you're not understanding how fonts work on the Mac. ... character sets have nothing to do with each other. ... in your browser, that is a flaw in your browser, or in your encoding ...
    (comp.sys.mac.system)
  • Thunderbird bugs [was: lots of other topics]
    ... Question marks are very, very specific thing and has very, very specific cause - written down in my previous e-mail - or in my Outlook Express instruction (same issue in Thunderbird and OE): ... interest in non-ASCII character sets comes partly from the fact that I ... It's a problem because the web browser designers ... specify a language at the sending end and a preferred language at the ...
    (alt.usage.english)
  • Re: Text rendering in FX3
    ... Font sizing often has peculiar effects on page layout. ... example page from the Brazil website - set your browser with midget ... fonts favoured by many designers, and it might work as expected; ... and things fall apart when stupid design assumptions are made. ...
    (Fedora)
  • Re: Text rendering in FX3
    ... Font sizing often has peculiar effects on page layout. ... example page from the Brazil website - set your browser with midget ... fonts favoured by many designers, and it might work as expected; ... and things fall apart when stupid design assumptions are made. ...
    (Fedora)
  • Re: overwriting characters
    ... character in the z dimension, or "overprint" a character, though ... However it does have a weird side-effect in my FireFox 2.0.0.11. ... As soon as I resize the browser window, ... The orderly method to do this would be to make a new font set ...
    (alt.html)