Apostrophes are dangerous

Status
Not open for further replies.

Matera the Mad

Bartender, gimme a Linux Mint
Super Member
Registered
Joined
Jan 6, 2008
Messages
13,979
Reaction score
1,533
Location
Wisconsin's (sore) thumb
Website
www.firefromthesky.org
I finally got around to finding the solution to an odd problem that I observed at work soon after installing Office 1007. There are three (actually four -- shhhh!) user accounts on the computer -- one is just for me to work in when I feel like it, one is a general staff admin profile where business gets done with QuickBooks, and one is an open "rubber room" non-admin account for anyone to use for e-mail or computer lessons.

The place is called JAK's Place, and so is the open luser account. Logged into that account, I opened the Help for one of the Office progs. All I saw was raw XML code instead of the nice table of contents. "Hmm," I said, "this is interesting, and I'd better do something about it." Not that my colleagues or any general members are likely to use Help when they have me around *rolls eyes*, but sometimes I do, since I'm still finding my way around in O'07.

It turns out that the problem is the apostrophe in JAK's Place. It gives XML terrible indigestion. So will other characters that have special meaning in XML code: " < > &.

The simplest solution is to remove the apostrophe, and have an incorrectly punctuated username :D

ETA: Actually it's not so simple, Windwoes clings to the original name like an ineradicable cancer. It looks like I'll either have to use an oblique hack I found last night, which I don't see as very reliable, or create a new apostrophe-less profile and move all files to it -- and change a good few shortcuts. I did some experimentation today on my own comper, since I'm home sick. Looks like a nice project for Saturday *rolls eyes again*.

For the edification of all, here is the list of forbidden characters from Winsows Help:
" / \ [ ] : ; | = , + * ? < >
None of these characters should ever be used in user names or file names -- you'll get your fingers slapped immediately for some!

For xml use, user names must not contain apostrophes or ampersands (&) either!!!

Remember that when you get that new computer.
 
Last edited:

PeterL

Sockpuppet
Banned
Joined
Aug 17, 2009
Messages
1,129
Reaction score
91
Office 1007 can be a real pain. I prefer more recent software. But your right about apostrophes in specialized places like usernames.
 

Maryn

I Tried
Super Member
Registered
Joined
Feb 12, 2005
Messages
64,156
Reaction score
43,173
Location
Behind you!
You had me at luser account. I'll have whatever you're drinking!

Maryn, just teasing (but very fond of Windwoes, too)
 
Status
Not open for further replies.