FAQ
Hi,

My name is Henrique do N. Angelo and I'm currently working on the
implementation of Unicode into PHP 6 as a Google Summer of Code 2008
project, mentored by Scott MacVicar. Scott has been helping me for the past
few weeks and, so far, I've got a couple patches done.

Following Philip's advice, I'm sending here some of the patches I've written
so far and soon I will be requesting a cvs account.

If you want to contact me directly, feel free to send me an email or talk to
me at #php.pecl at efnet, I'm hnangelo.

Cheers
Henrique

Search Discussions

  • Marcus Boerger at Jun 7, 2008 at 2:42 pm
    Hello Henrique,

    this all looks fine.Can you apply for an account directly?

    marcus

    Saturday, June 7, 2008, 8:25:19 AM, you wrote:
    Index: bug34704.phpt
    ===================================================================
    RCS file: /repository/php-src/ext/exif/tests/bug34704.phpt,v
    retrieving revision 1.5
    diff -u -r1.5 bug34704.phpt
    --- bug34704.phpt 2 Jun 2006 22:22:42 -0000 1.5
    +++ bug34704.phpt 7 Jun 2008 02:31:14 -0000
    @@ -13,51 +13,22 @@
    ===DONE===
    --EXPECTF--
    array(7) {
    - ["FileName"]=>
    - string(12) "bug34704.jpg"
    - ["FileDateTime"]=>
    - int(%d)
    - ["FileSize"]=>
    - int(9976)
    - ["FileType"]=>
    - int(2)
    - ["MimeType"]=>
    - string(10) "image/jpeg"
    - ["SectionsFound"]=>
    - string(4) "IFD0"
    - ["COMPUTED"]=>
    - array(5) {
    - ["html"]=>
    - string(24) "width="386" height="488""
    - ["Height"]=>
    - int(488)
    - ["Width"]=>
    - int(386)
    - ["IsColor"]=>
    - int(1)
    - ["ByteOrderMotorola"]=>
    - int(0)
    - }
    -}
    -===DONE===
    ---UEXPECTF--
    -array(7) {
    [u"FileName"]=>
    - string(12) "bug34704.jpg"
    + unicode(12) "bug34704.jpg"
    [u"FileDateTime"]=>
    - int(1128867104)
    + int(%d)
    [u"FileSize"]=>
    int(9976)
    [u"FileType"]=>
    int(2)
    [u"MimeType"]=>
    - string(10) "image/jpeg"
    + unicode(10) "image/jpeg"
    [u"SectionsFound"]=>
    - string(4) "IFD0"
    + unicode(4) "IFD0"
    [u"COMPUTED"]=>
    array(5) {
    [u"html"]=>
    - string(24) "width="386" height="488""
    + unicode(24) "width="386" height="488""
    [u"Height"]=>
    int(488)
    [u"Width"]=>
    Index: exif001.phpt
    ===================================================================
    RCS file: /repository/php-src/ext/exif/tests/exif001.phpt,v
    retrieving revision 1.6
    diff -u -r1.6 exif001.phpt
    --- exif001.phpt 27 May 2008 18:16:00 -0000 1.6
    +++ exif001.phpt 7 Jun 2008 02:31:14 -0000
    @@ -19,7 +19,7 @@
    [u"FILE"]=>
    array(6) {
    [u"FileName"]=>
    - string(9) "test2.jpg"
    + unicode(9) "test2.jpg"
    [u"FileDateTime"]=>
    int(%d)
    [u"FileSize"]=>
    @@ -27,14 +27,14 @@
    [u"FileType"]=>
    int(2)
    [u"MimeType"]=>
    - string(10) "image/jpeg"
    + unicode(10) "image/jpeg"
    [u"SectionsFound"]=>
    - string(33) "ANY_TAG, IFD0, THUMBNAIL, COMMENT"
    + unicode(33) "ANY_TAG, IFD0, THUMBNAIL, COMMENT"
    }
    [u"COMPUTED"]=>
    array(12) {
    [u"html"]=>
    - string(20) "width="1" height="1""
    + unicode(20) "width="1" height="1""
    [u"Height"]=>
    int(1)
    [u"Width"]=>
    @@ -44,26 +44,26 @@
    [u"ByteOrderMotorola"]=>
    int(1)
    [u"UserComment"]=>
    - string(16) "Exif test image."
    + unicode(16) "Exif test image."
    [u"UserCommentEncoding"]=>
    - string(5) "ASCII"
    + unicode(5) "ASCII"
    [u"Copyright"]=>
    - string(41) "Photo (c) M.Boerger, Edited by M.Boerger."
    + unicode(41) "Photo (c) M.Boerger, Edited by M.Boerger."
    [u"Copyright.Photographer"]=>
    - string(19) "Photo (c) M.Boerger"
    + unicode(19) "Photo (c) M.Boerger"
    [u"Copyright.Editor"]=>
    - string(20) "Edited by M.Boerger."
    + unicode(20) "Edited by M.Boerger."
    [u"Thumbnail.FileType"]=>
    int(2)
    [u"Thumbnail.MimeType"]=>
    - string(10) "image/jpeg"
    + unicode(10) "image/jpeg"
    }
    [u"IFD0"]=>
    array(2) {
    [u"Copyright"]=>
    - string(19) "Photo (c) M.Boerger"
    + unicode(19) "Photo (c) M.Boerger"
    [u"UserComment"]=>
    - string(5) "ASCII"
    + unicode(5) "ASCII"
    }
    [u"THUMBNAIL"]=>
    array(2) {
    @@ -75,10 +75,10 @@
    [u"COMMENT"]=>
    array(3) {
    [0]=>
    - string(11) "Comment #1."
    + unicode(11) "Comment #1."
    [1]=>
    - string(11) "Comment #2."
    + unicode(11) "Comment #2."
    [2]=>
    - string(13) "Comment #3end"
    + unicode(13) "Comment #3end"
    }
    }
    Index: exif004.phpt
    ===================================================================
    RCS file: /repository/php-src/ext/exif/tests/exif004.phpt,v
    retrieving revision 1.5
    diff -u -r1.5 exif004.phpt
    --- exif004.phpt 4 Jan 2003 19:19:59 -0000 1.5
    +++ exif004.phpt 7 Jun 2008 02:31:14 -0000
    @@ -22,17 +22,17 @@
    ?>
    --EXPECT--
    array(5) {
    - ["Subject"]=>
    - string(10) "Subject..."
    - ["Keywords"]=>
    - string(11) "Keywords..."
    - ["Author"]=>
    - string(9) "Rui Carmo"
    - ["Comments"]=>
    - string(29) "Comments
    + [u"Subject"]=>
    + unicode(10) "Subject..."
    + [u"Keywords"]=>
    + unicode(11) "Keywords..."
    + [u"Author"]=>
    + unicode(9) "Rui Carmo"
    + [u"Comments"]=>
    + unicode(29) "Comments
    Line2
    Line3
    Line4"
    - ["Title"]=>
    - string(8) "Title..."
    + [u"Title"]=>
    + unicode(8) "Title..."
    }
    Index: exif005.phpt
    ===================================================================
    RCS file: /repository/php-src/ext/exif/tests/exif005.phpt,v
    retrieving revision 1.8
    diff -u -r1.8 exif005.phpt
    --- exif005.phpt 27 May 2008 18:16:00 -0000 1.8
    +++ exif005.phpt 7 Jun 2008 02:31:14 -0000
    @@ -16,7 +16,7 @@
    --EXPECT--
    array(2) {
    [u"ImageDescription"]=>
    - string(11) "Ifd00000009"
    + unicode(11) "Ifd00000009"
    [u"DateTime"]=>
    - string(19) "2002:10:18 20:06:00"
    + unicode(19) "2002:10:18 20:06:00"
    }


    Best regards,
    Marcus
  • Marcus Boerger at Jun 7, 2008 at 7:11 pm
    Hello Marcus,

    feel free to commit these. Please stay in touch with your mentor and the
    rest of the team to discuss especially larger changes.

    marcus

    Saturday, June 7, 2008, 4:41:50 PM, you wrote:
    Hello Henrique,
    this all looks fine.Can you apply for an account directly?
    marcus
    Saturday, June 7, 2008, 8:25:19 AM, you wrote:
    Index: bug34704.phpt
    ===================================================================
    RCS file: /repository/php-src/ext/exif/tests/bug34704.phpt,v
    retrieving revision 1.5
    diff -u -r1.5 bug34704.phpt
    --- bug34704.phpt 2 Jun 2006 22:22:42 -0000 1.5
    +++ bug34704.phpt 7 Jun 2008 02:31:14 -0000
    @@ -13,51 +13,22 @@
    ===DONE===
    --EXPECTF--
    array(7) {
    - ["FileName"]=>
    - string(12) "bug34704.jpg"
    - ["FileDateTime"]=>
    - int(%d)
    - ["FileSize"]=>
    - int(9976)
    - ["FileType"]=>
    - int(2)
    - ["MimeType"]=>
    - string(10) "image/jpeg"
    - ["SectionsFound"]=>
    - string(4) "IFD0"
    - ["COMPUTED"]=>
    - array(5) {
    - ["html"]=>
    - string(24) "width="386" height="488""
    - ["Height"]=>
    - int(488)
    - ["Width"]=>
    - int(386)
    - ["IsColor"]=>
    - int(1)
    - ["ByteOrderMotorola"]=>
    - int(0)
    - }
    -}
    -===DONE===
    ---UEXPECTF--
    -array(7) {
    [u"FileName"]=>
    - string(12) "bug34704.jpg"
    + unicode(12) "bug34704.jpg"
    [u"FileDateTime"]=>
    - int(1128867104)
    + int(%d)
    [u"FileSize"]=>
    int(9976)
    [u"FileType"]=>
    int(2)
    [u"MimeType"]=>
    - string(10) "image/jpeg"
    + unicode(10) "image/jpeg"
    [u"SectionsFound"]=>
    - string(4) "IFD0"
    + unicode(4) "IFD0"
    [u"COMPUTED"]=>
    array(5) {
    [u"html"]=>
    - string(24) "width="386" height="488""
    + unicode(24) "width="386" height="488""
    [u"Height"]=>
    int(488)
    [u"Width"]=>
    Index: exif001.phpt
    ===================================================================
    RCS file: /repository/php-src/ext/exif/tests/exif001.phpt,v
    retrieving revision 1.6
    diff -u -r1.6 exif001.phpt
    --- exif001.phpt 27 May 2008 18:16:00 -0000 1.6
    +++ exif001.phpt 7 Jun 2008 02:31:14 -0000
    @@ -19,7 +19,7 @@
    [u"FILE"]=>
    array(6) {
    [u"FileName"]=>
    - string(9) "test2.jpg"
    + unicode(9) "test2.jpg"
    [u"FileDateTime"]=>
    int(%d)
    [u"FileSize"]=>
    @@ -27,14 +27,14 @@
    [u"FileType"]=>
    int(2)
    [u"MimeType"]=>
    - string(10) "image/jpeg"
    + unicode(10) "image/jpeg"
    [u"SectionsFound"]=>
    - string(33) "ANY_TAG, IFD0, THUMBNAIL, COMMENT"
    + unicode(33) "ANY_TAG, IFD0, THUMBNAIL, COMMENT"
    }
    [u"COMPUTED"]=>
    array(12) {
    [u"html"]=>
    - string(20) "width="1" height="1""
    + unicode(20) "width="1" height="1""
    [u"Height"]=>
    int(1)
    [u"Width"]=>
    @@ -44,26 +44,26 @@
    [u"ByteOrderMotorola"]=>
    int(1)
    [u"UserComment"]=>
    - string(16) "Exif test image."
    + unicode(16) "Exif test image."
    [u"UserCommentEncoding"]=>
    - string(5) "ASCII"
    + unicode(5) "ASCII"
    [u"Copyright"]=>
    - string(41) "Photo (c) M.Boerger, Edited by M.Boerger."
    + unicode(41) "Photo (c) M.Boerger, Edited by M.Boerger."
    [u"Copyright.Photographer"]=>
    - string(19) "Photo (c) M.Boerger"
    + unicode(19) "Photo (c) M.Boerger"
    [u"Copyright.Editor"]=>
    - string(20) "Edited by M.Boerger."
    + unicode(20) "Edited by M.Boerger."
    [u"Thumbnail.FileType"]=>
    int(2)
    [u"Thumbnail.MimeType"]=>
    - string(10) "image/jpeg"
    + unicode(10) "image/jpeg"
    }
    [u"IFD0"]=>
    array(2) {
    [u"Copyright"]=>
    - string(19) "Photo (c) M.Boerger"
    + unicode(19) "Photo (c) M.Boerger"
    [u"UserComment"]=>
    - string(5) "ASCII"
    + unicode(5) "ASCII"
    }
    [u"THUMBNAIL"]=>
    array(2) {
    @@ -75,10 +75,10 @@
    [u"COMMENT"]=>
    array(3) {
    [0]=>
    - string(11) "Comment #1."
    + unicode(11) "Comment #1."
    [1]=>
    - string(11) "Comment #2."
    + unicode(11) "Comment #2."
    [2]=>
    - string(13) "Comment #3end"
    + unicode(13) "Comment #3end"
    }
    }
    Index: exif004.phpt
    ===================================================================
    RCS file: /repository/php-src/ext/exif/tests/exif004.phpt,v
    retrieving revision 1.5
    diff -u -r1.5 exif004.phpt
    --- exif004.phpt 4 Jan 2003 19:19:59 -0000 1.5
    +++ exif004.phpt 7 Jun 2008 02:31:14 -0000
    @@ -22,17 +22,17 @@
    ?>
    --EXPECT--
    array(5) {
    - ["Subject"]=>
    - string(10) "Subject..."
    - ["Keywords"]=>
    - string(11) "Keywords..."
    - ["Author"]=>
    - string(9) "Rui Carmo"
    - ["Comments"]=>
    - string(29) "Comments
    + [u"Subject"]=>
    + unicode(10) "Subject..."
    + [u"Keywords"]=>
    + unicode(11) "Keywords..."
    + [u"Author"]=>
    + unicode(9) "Rui Carmo"
    + [u"Comments"]=>
    + unicode(29) "Comments
    Line2
    Line3
    Line4"
    - ["Title"]=>
    - string(8) "Title..."
    + [u"Title"]=>
    + unicode(8) "Title..."
    }
    Index: exif005.phpt
    ===================================================================
    RCS file: /repository/php-src/ext/exif/tests/exif005.phpt,v
    retrieving revision 1.8
    diff -u -r1.8 exif005.phpt
    --- exif005.phpt 27 May 2008 18:16:00 -0000 1.8
    +++ exif005.phpt 7 Jun 2008 02:31:14 -0000
    @@ -16,7 +16,7 @@
    --EXPECT--
    array(2) {
    [u"ImageDescription"]=>
    - string(11) "Ifd00000009"
    + unicode(11) "Ifd00000009"
    [u"DateTime"]=>
    - string(19) "2002:10:18 20:06:00"
    + unicode(19) "2002:10:18 20:06:00"
    }
    Best regards,
    Marcus




    Best regards,
    Marcus

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedJun 7, '08 at 6:25a
activeJun 7, '08 at 7:11p
posts3
users2
websitephp.net

People

Translate

site design / logo © 2023 Grokbase