FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » mysql dynamic binding and pass-by-ref deprecated
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: UTF-8 charset [OT] [message #180855 is a reply to message #180853] Fri, 22 March 2013 00:47 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Peter H. Coffin wrote:

> On Thu, 21 Mar 2013 18:22:30 +0000, Adrian Tuddenham wrote:
>> M. Strobel <sorry_no_mail_here(at)nowhere(dot)dee> wrote:
>>> [Page 3]
>>> o the default character set is changed from US-ASCII [ANSI1986] to
>>> UTF-8 [RFC3629] (note that US-ASCII is a subset of UTF-8);

That is interesting, but hardly relevant here. The relevant standard here
is Proposed Standard RFC 5536 (Netnews Article Format, 2009 CE) which refers
to Draft Standard RFC 5322 (Internet Message Format, 2008) for the general
format of Internet messages, which in turn refers to the Draft Standards
RFC 2045 to 2049 (MIME, 1996) for message encoding.

>>> I am so fed up with limited character sets like ISO-8859 or the Win
>>> encoding a programmer/sysadmin has to care about.

Do you even know that the so-called “ISO-8859-1” actually is Windows-1252?

> […]
> OTOH, curly-quotes (which IIRC were the issue here) add little, if
> anything, to clarity for any language, and certainly have no place in
> PHP coding.

Not quite. While typographic/proper quotation marks (“curly-quotes” is a
misnomer) have not been used as part of PHP code here (of course), there is
nothing wrong with using them in syntactically correct ways, like *inside*
string values, as long as the source code uses the corresponding character
encoding and the encoding is properly declared (since PHP is encoding-
agnostic, if you declare and use UTF-8 – without BOM, preferably – you can
type those characters verbatim; do not think that I &ldquo;'d and &rdquo;'d
everything in PHP source code for <http://PointedEars.de/es-matrix>).

In fact, if the value is to be used in output, like non-code in a Web
document, it is strongly recommended to use typographical quotes so as to
improve the readability of the text. However, few Web developers are aware
of the benefits of Web typography; I must admit that I had not become very
much aware of it myself before writing my thesis (in publishable texts like
scientific works you *must* use correct typography). Only that some longer
time before that I had already written PHP code that automatically
transformed “ASCII” typography into proper one for an e-book; I should
probably refactor and reuse it now.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need Forex Feed in PHP
Next Topic: can't get includes to load
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 21:29:31 GMT 2024

Total time taken to generate the page: 0.04957 seconds