Click here to Skip to main content
15,911,142 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
kalberts14-Feb-18 22:40
kalberts14-Feb-18 22:40 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Dar Brett15-Feb-18 23:36
Dar Brett15-Feb-18 23:36 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
kalberts16-Feb-18 0:44
kalberts16-Feb-18 0:44 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Daniel T Barnett14-Feb-18 2:26
Daniel T Barnett14-Feb-18 2:26 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
kalberts14-Feb-18 22:52
kalberts14-Feb-18 22:52 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Foothill13-Feb-18 3:08
professionalFoothill13-Feb-18 3:08 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Mycroft Holmes13-Feb-18 14:07
professionalMycroft Holmes13-Feb-18 14:07 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
kalberts15-Feb-18 1:20
kalberts15-Feb-18 1:20 
For short terms with very specific semantics I tend to be more tolerant to syntactic restrictions (although I will do what I can to reduce them). For example passwords, you may have to specify them through a variety of input mechanisms (GUI, command line interface, smartphone app, ...), with no guarantee that the device provides all the characters. If you are abroad to give a demonstration of your new web site, requiring logon, and the password you use is "Vømmøl", how do you specify it on that US keyboard? (In case you wonder: Vømmøl is a dialect variant of vadmel, which is Norwegian for a homespun wool quality used for working clothes. Knowing that won't help your login, though!)

For a plain text, like this product review, I have much stronger objections. Such a text should be left untouched by digital hands. You should be allowed to use any printable character, and essentially non-printable as well. It should be treated as a binary blob except by those functons that actually relate to the text contents.

But we computer guys think it is just so convenient having access to the <, / and > as text. We crave for these special characters, these escapes. "For convenience" we do not want text contents to be any arbitrary sequence of characters.

We are beginning to learn, the hard way, about the dangers of SQL injection (everybody knows https://xkcd.com/327/ today), but we are still accepting HTML code injection. A few years ago, numerous web sites would mess up the screen completely if you happened not to add the appropriate closing tags. There is less of that nowadays, but still text may disappear in mysterious ways because the author was unaware of the special semantic meaning of <. Or of the ampersand. Or the backslash. Or ...

HTML, or other text-based markup, is not fit for human consumption. Visible characters are text, not markup. If there is a need to add markup, it should be done outside the text, and the code-behind may use whatever internal encoding it wishes, as long as it does not interfere with the text contents. Ordinary users think it perfectly OK to click an "italics" or "chapter level 2" button; those insisting on textual taggig are essentially the computer guys!

CP gives us a helping hand through the Preview pane. That is really an emergency workaround - other net fora offer editors where the writer works directly in the "tags interpreted" format. Yes, that requires more work; the input editor cannot be limited to 7-bit ASCII (or its relatives). But if you don't want to look stone age, you have to make that effort.
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
CPallini13-Feb-18 3:34
mveCPallini13-Feb-18 3:34 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Gary Wheeler14-Feb-18 1:22
Gary Wheeler14-Feb-18 1:22 
JokeRe: "Special characters not allowed" - and we eat only raw meat Pin
CPallini14-Feb-18 2:01
mveCPallini14-Feb-18 2:01 
JokeRe: "Special characters not allowed" - and we eat only raw meat Pin
Gary Wheeler14-Feb-18 2:06
Gary Wheeler14-Feb-18 2:06 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
CPallini14-Feb-18 3:20
mveCPallini14-Feb-18 3:20 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
kalberts14-Feb-18 23:02
kalberts14-Feb-18 23:02 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Duncan K G Campbell13-Feb-18 21:16
professionalDuncan K G Campbell13-Feb-18 21:16 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Kirill Illenseer13-Feb-18 22:33
Kirill Illenseer13-Feb-18 22:33 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Peter Shaw14-Feb-18 2:14
professionalPeter Shaw14-Feb-18 2:14 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
Gerry Schmitz14-Feb-18 6:02
mveGerry Schmitz14-Feb-18 6:02 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
englebart14-Feb-18 9:17
professionalenglebart14-Feb-18 9:17 
QuestionRe: "Special characters not allowed" - and we eat only raw meat Pin
Stefan_Lang15-Feb-18 23:18
Stefan_Lang15-Feb-18 23:18 
GeneralRe: "Special characters not allowed" - and we eat only raw meat Pin
kalberts15-Feb-18 0:46
kalberts15-Feb-18 0:46 
GeneralWe all love cats... Pin
Rage12-Feb-18 23:19
professionalRage12-Feb-18 23:19 
JokeRe: We all love cats... Pin
RickZeeland12-Feb-18 23:23
mveRickZeeland12-Feb-18 23:23 
GeneralRe: We all love cats... Pin
CodeWraith12-Feb-18 23:41
CodeWraith12-Feb-18 23:41 
GeneralRe: We all love cats... Pin
megaadam13-Feb-18 0:35
professionalmegaadam13-Feb-18 0:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.