The Naked Scientists

The Naked Scientists Forum

Author Topic: Why does posting software refuse to allow quotes marks at the start of a line?  (Read 6761 times)

DiscoverDave

  • Guest
When I post here and on other sites, the software that controls the text area where I type rejects a quote mark at the start of a line and, instead, it "steals" the previous word from the end of the previous line to use at the start of the line apparently to "protect" it from the quote mark.  Why does it do this?  Why does it have this "attitude" against quote marks at the start of a line?


 

Offline LeeE

  • Neilep Level Member
  • ******
  • Posts: 3382
    • View Profile
    • Spatial
'When I post here...'

Seems to work ok...
 

Offline LeeE

  • Neilep Level Member
  • ******
  • Posts: 3382
    • View Profile
    • Spatial
"When I post here..."

Also seems ok too...
 

Offline LeeE

  • Neilep Level Member
  • ******
  • Posts: 3382
    • View Profile
    • Spatial
One possible factor though, is that when you're inserting or updating literal string data in SQL you need to put it in single quotes and this might be upsetting some software as it would lead to a pair of single quotes, equivalent to opening and closing quotes, at the start and end of the string value.

As I don't seem to be getting these problems, at least on this forum, it might just be a browser issue.
 

Offline LeeE

  • Neilep Level Member
  • ******
  • Posts: 3382
    • View Profile
    • Spatial
`Let's just try back-quote characters to be sure though...`

Nope - they seem ok too.
 

Offline LeeE

  • Neilep Level Member
  • ******
  • Posts: 3382
    • View Profile
    • Spatial
Yeah, that does look odd, but it looks like word-wrap issue.  What happens if you change the width of your browser window?

It looks as though the length of the first word on the following line is dictating where the previous line is word-wrapped, rather than the length of the last word on that line.  You need to remember that unless you actually type a return (Carriage Return), what you type is held as a single string, with no fixed word-wrap positions.  The software that renders the text and fits it into the available space on the page decides where the word-wrap position should be.

Poor programming/bug is the probable reason.
 

Offline chris

  • Neilep Level Member
  • ******
  • Posts: 5336
  • Thanked: 65 times
  • The Naked Scientist
    • View Profile
    • The Naked Scientists
It's to stop the first character of the line being a quotation mark. Apparently this is bad sentence feng shui or something.

Chris
 

Offline LeeE

  • Neilep Level Member
  • ******
  • Posts: 3382
    • View Profile
    • Spatial
But it doesn't stop it Chris, at least not in all cases, e.g. my test posts above.
 

Offline nicephotog

  • Sr. Member
  • ****
  • Posts: 387
  • Thanked: 7 times
  • H h H h H h H h H h
    • View Profile
    • Freeware Downloads
(apart your own machines set encoding and locale).
In explorer click on your menu bar View>enconding>
and you will find there are various factors involved in your
software.
1. Browser encoding "for the browser to use".
2. Your keyboard encoding (iso_8850-1 , iso_1252-15 , iso_646 , utf-8 ,
unicode , latin-1) are all extremely similar , but some standard symbols are not
the same, its simply the form and the server will accept-charset .
3. UTF-8 changes some standard characters between HTML-PAGE-LOCALE SETTING under each specific locale and radically e.g. under chinese user-machine-STDINput.
Nastyer again , the database server for a forum site is alike a complete another machine,
Complicating that more the CGI environment of the server may not match the cgi scripts at points in them or their actual encoding and be getting away with it.
The output headers if they are customised
e.g.
Content-Type: text/html; charset=UTF-64
Content-Language: en_UK;
 

The Naked Scientists Forum


 

SMF 2.0.10 | SMF © 2015, Simple Machines
SMFAds for Free Forums