Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #14672
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Regex to Match two letters |
| Date | 2014-11-30 13:07 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <1580091.fUpjlrXKjt@PointedEars.de> (permalink) |
| References | (2 earlier) <AB4dw.784893$FX2.447824@fx18.iad> <m52lm5$3f4$1@solani.org> <73a4614d-a97e-4303-b135-e6c21242f18b@googlegroups.com> <54759983$0$2890$e4fe514c@news.xs4all.nl> <547AB787.8070500@arnowelzel.de> |
Arno Welzel wrote:
> Luuk schrieb am 2014-11-26 um 10:12:
>> On 25-11-2014 21:55, Eric wrote:
>>> My ios logitech keyboard was giving the wrong ^ character. Fixed.
>>
>> Is there more than one '^' character?
>>
>> luuk@opensuse:~> php -r ' print ord("^")."\n"; '
>> 94
>>
>> what is the output of this 'wrong ^ character'?
>>
>> (just curious ;)
>
> Probably one of these:
>
> ˄ (˄)
> ˆ (ˆ)
^^^^^^^^
ord() could not return that as it returns the code point value while
recognizing only up to 8 bit per character (it returns nonsense beyond
0xFF); but mb_encode_numericentity() could.
Indeed, it is much easier to type a (standalone) Unicode combining mark with
a Macintosh keyboard layout. This may be either the cause or the effect of
Mac OS using the combining form of Unicode characters by default, pointing
out the importance of Unicode character normalization.
--
PointedEars
Zend Certified PHP Engineer
Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Regex to Match two letters Eric <ekoome@yahoo.com> - 2014-11-25 09:29 -0800
Re: Regex to Match two letters "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-25 19:08 +0100
Re: Regex to Match two letters Eric <ekoome@yahoo.com> - 2014-11-25 10:53 -0800
Re: Regex to Match two letters "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-25 20:07 +0100
Re: Regex to Match two letters Luuk <luuk@invalid.lan> - 2014-11-25 20:17 +0100
Re: Regex to Match two letters Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2014-11-25 14:17 -0500
Re: Regex to Match two letters "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-25 20:35 +0100
Re: Regex to Match two letters Eric <ekoome@yahoo.com> - 2014-11-25 12:55 -0800
Re: Regex to Match two letters Luuk <luuk@invalid.lan> - 2014-11-26 10:12 +0100
Re: Regex to Match two letters Eric <ekoome@yahoo.com> - 2014-11-26 01:46 -0800
Re: Regex to Match two letters Arno Welzel <usenet@arnowelzel.de> - 2014-11-30 07:21 +0100
Re: Regex to Match two letters Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-30 13:07 +0100
Re: Regex to Match two letters Arno Welzel <usenet@arnowelzel.de> - 2014-11-30 19:47 +0100
Re: Regex to Match two letters Luuk <luuk@invalid.lan> - 2014-11-30 20:21 +0100
csiph-web