32 Commits

Author SHA1 Message Date
Peter Kokot
5638836ec8 Update php.net links to point to https://www.php.net 2023-01-17 23:57:25 +01:00
Gerard Nesta
752ebdafb3 Replaced patchwork/utf8 with symfony/polyfill-mbstring
Patchwork package is not maintained anymore.
2022-02-08 10:39:59 +01:00
Roy Ronalds
550fbe07ab PHP and UTF-8: Clarified magic numbers, escape
to html with an example function for UTF-8, moved to PDO named bindings.
2018-06-26 22:11:36 -04:00
Josh Lockhart
c9e5c2659e Remove outdated Google Pagespeed link in UTF8 section 2018-06-20 08:33:44 -04:00
Josh Lockhart
5decaf9bbb Update UTF8 links to use https, remove broken links 2018-06-19 13:51:05 -04:00
Myo T Kyaw
14e80864d5 Update with minor grammar fixes 2016-09-16 18:40:43 -07:00
Turdaliev Nursultan
252cae64d0 Update 05-05-01-PHP-and-UTF8.md 2016-02-02 14:50:45 +01:00
Artem Gordinsky
1aa7d4de8a Remove a line break inside a PHP version number 2015-01-26 09:00:07 +02:00
david
d7cca904ea Add DOMDocument UTF-8 stackoverflow link. 2015-01-24 09:49:04 -08:00
Don MacAskill
4d01642a89 Fix comment error around UTF-8 and PDO 2015-01-05 11:09:42 -08:00
Phil Sturgeon
d0f6712042 Merge pull request #490 from jrfnl/Add-UTF8-link
Add UTF-8 resource link
2014-12-08 16:40:56 -05:00
jrfnl
80148bdc44 Jekyll header spacing consistency 2014-12-08 22:03:53 +01:00
jrfnl
82ee7ad76a Fix line wrapping consistency - round 1
Comply with the 'wrap at 120 chars' style rule stated in the contributing.md document
2014-12-08 22:03:47 +01:00
jrfnl
fb7bda7cd9 Add UTF-8 resource link 2014-12-08 20:12:08 +01:00
Phil Sturgeon
0fcb7c0a91 Merge pull request #493 from jrfnl/Adjust-examples
Adjust examples
2014-12-08 12:46:16 -05:00
jrfnl
1852c53aa5 Use language independent permalinks for php.net urls
@see http://php.net/urlhowto.php
2014-12-08 17:48:38 +01:00
jrfnl
092ccd7910 Fix examples
If there is no namespace declared in the example, the backslash before the class name is not necessary and can be confusing
2014-12-08 17:46:58 +01:00
Hannes Van De Vreken
e0cfddb669 brining -> brining 2014-12-05 17:10:00 +01:00
Corey Ballou
be8f8fef92 Fixing tabbing (spacing) of PDO connection.
Just so it looks as clean as it should.
2014-10-23 07:32:03 -04:00
Geert De Deckere
321279e77f Add meta charset in head
The HTTP Content-Type header has precedence but adding a meta charset in the head helps when opening an offline (e.g. downloaded) file in the browser.

Also, note that the official character set name is in uppercase.
See: http://www.iana.org/assignments/character-sets/character-sets.xhtml
2014-09-15 20:34:25 +02:00
Phil Sturgeon
9a41f407f0 Charset in content-type 2014-07-15 17:05:07 +01:00
Phil Sturgeon
3d7f2957d9 Working with UTF-8 2014-07-15 16:57:26 +01:00
Phil Sturgeon
ac548011c0 Add note about patchwork utf8 2014-07-15 16:55:55 +01:00
Peter Kokot
a6c7aec126 anchor for php and UTF-8 section added 2014-04-01 02:02:26 +02:00
Yannick Lyn Fatt
059d3ff4bc fixed word wrapping (now 120 chars)
Also added note about default encoding for htmlentities and
htmlspecialchars and added link to php docs for htmlspecialchars
2014-03-31 00:36:31 -05:00
Yannick Lyn Fatt
13cb4bc562 changed wording so it speaks to code example in this section 2014-03-14 01:04:01 -05:00
Yannick Lyn Fatt
c45fa93abc moved inline links to Further Reading section 2014-03-14 01:00:59 -05:00
Yannick Lyn Fatt
bf96a8ad9f removed sentence as wording seemed a little too aggressive 2014-03-14 00:39:35 -05:00
Yannick Lyn Fatt
7f59769469 made utf8mb4 consistently represented as code 2014-03-11 00:02:42 -05:00
Yannick Lyn Fatt
eec6e11d8b bump first argument down a line so the example is PSR-2 2014-03-10 23:57:56 -05:00
Yannick Lyn Fatt
33727f532a declared utf charset in the connection string
Also updated code example to match phpbestpractices.org example
2014-02-10 16:23:43 -05:00
Yannick Lyn Fatt
a47993d614 added PHP and UTF-8 section 2014-02-09 18:01:37 -05:00