[Clipart] [Bug 3867] Bad character encoding for submited files
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 23 17:10:22 PDT 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
------- Additional Comments From jonadab at bright.net 2005-08-23 17:10 -------
> > > étoile
> > Does SVGscan find these?
> No, because there isn't really anything wrong with it
Oh, yeah. I knew that...
> I suppose I could add a
> looks_suspiciously_like_an_html_entity_with_the_ampersand_escaped test.
How did you discover this in the first place?
> When you get metadata from the form, the encoding should be specified
> in the HTTP header.
Actually, I think it's specified in the separators, but anyway, it's
specified. I'd gotten that far...
> Using this information with the decode() function you can decode
> the metadata, that is, convert it to Perl's internal format.
> (The metadata you get from SVG::Metadata should already be in
> Perl's internal format, unless SVG::Metadata is doing something
> wrong.) When you write to the file, you do so in UTF-8 mode
Okay, that's starting to make sense to me now. I think.
> Try typing vowels with the AltGr key held down
I don't have any such key. I have left and right Alt, but that's not
what they do.
I'm telling you, I live in Ohio. I've got a standard US keyboard,
for practical purposes 104 keys. (Technically it has rather more than
104 keys, because it's a high-end model with function keys duplicated
on the left side, as well as across the top, and it's remappable, but
it still only generates the same characters as a 104-key keyboard.)
I cannot type any character on this keyboard that you can't type on an
IBM Model M keyboard from the seventies. I cannot buy a PC keyboard
around here that can type other characters. (I could get a used DEC
keyboard from a VT510, the sort of terminal used with a Vax, but that
will not do me a large amount of good with a PC. It does use a PS/2
connector, but it lacks too many keys that are important on the PC,
so it is not in practice usable with a PC.)
I do not have an AltGr key, a Compose key, or a cokebottle key. I can type
ASCII characters from 32 (decimal) through 126, as well as 9 (horizontal
tab) and 13 (carriage return; in some applications this comes out as 10
(linefeed) instead, or both). That's it. If I boot into DOS, I can type
IBM Extended ASCII characters with the Alt+nnn-on-the-numpad trick, but
those won't display correctly on any modern system.
This is pretty much the only kind of keyboard sold within several hundred
miles of here, in nearly any direction. (Except for USB and laptop
keyboards, which have even fewer keys, and Mac keyboards.) It is the
only kind of keyboard anyone living around here needs, because at *least*
four nines (probably five) of the population is either literate in English,
or else it's the only language they know at all (the latter being
substantially the more common). All words are spelled with only ASCII
characters here: "naive", "resume" (that's a three-syllable noun),
"Otterbein", "El Nino", "logos", "adelphos", "anthropos", "phileo".
They are spelled that way whether hand-written or typed, and frequently
even when they are professionally typeset.
People here say they know two languages if they had three years of
high-school Spanish and can just about manage to come up with "Hola, yo
soy de Americano, e tu? Hasta la vista, baby!". I live in a city of
ten thousand people, and I can say with a fair degree of confidence that
there are 0.00 people living in this city who do not speak some kind of
English. This is the reality of living in the middle of a large and
essentially mono-lingual nation. Other characters are a completely
foreign concept. There is no market for a keyboard that can type them.
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the clipart