View Single Post
Old 12-05-2017, 07:33 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,652
Karma: 205022288
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
For the record ...

Quote:
Originally Posted by roger64 View Post
Then you had spoken about "the unicode character". That's why I had hoped that using one hexadecimal character could provide a workaround for writing the no-break space with a discrete display.
There's no such thing as a no-break space "hexadecimal character." \xa0 IS the unicode character (and vice-versa). It's just another way of referencing the exact same thing. Used in a regex expression, \xa0 matches the unicode no-break space character. In a regex replace expression, \xa0 inserts the unicode no-break character. \xa0 is useful in regex mainly because one can't actually type the no-break space character (though it could be copy/pasted into an expression) with a key.

Quote:
Originally Posted by roger64 View Post
Does the -now- notorious QTextEdit bug has really so long arms and extend to all kinds of representation of the nobreak space?
No. Just the unicode character ... which \xa0 represents. Entity representations of the no-break space character are fine.
DiapDealer is offline   Reply With Quote