Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130154 - how about adding a unicode BOM support to dev-lang/php?
Summary: how about adding a unicode BOM support to dev-lang/php?
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: PHP Bugs
URL: http://bugs.php.net/bug.php?id=22108
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-16 04:25 UTC by Jung Tae-young
Modified: 2006-05-24 06:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jung Tae-young 2006-04-16 04:25:00 UTC
In default, php doesn't support unicode BOM characters. So if we use the document which has BOM, error occurs. (BOM makes error when we use session/cookie,headers func)

simply we can support unicode with '--enable-zend-multibyte' option. :)
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2006-05-24 06:54:39 UTC
We won't add a USE flag for this for now, as it's not used by many people (you're the first ever to mention it), and the PHP developers discourage it's use in production, see [1].
If you need this, just do:

EXTRA_ECONF="--enable-zend-multibyte" emerge php

and it will emerge PHP while passing that configure switch, resulting in the BOM stuff enabled for you.
Best regards, CHTEKK.

[1] http://marc.theaimsgroup.com/?l=php-dev&m=114536767014998&w=2