binary conversion problem[Solved]
Moderator: General Moderators
-
devendra-m
- Forum Contributor
- Posts: 111
- Joined: Wed Sep 12, 2007 3:16 am
binary conversion problem[Solved]
pack("C*",0xd0,0xcf,0x11,0xe0,0xa1,0xb1,0x1a,0xe1) should output поЮ║╠А , but it is giving unexpected output.
Last edited by devendra-m on Wed Dec 05, 2007 12:02 am, edited 2 times in total.
-
devendra-m
- Forum Contributor
- Posts: 111
- Joined: Wed Sep 12, 2007 3:16 am
-
devendra-m
- Forum Contributor
- Posts: 111
- Joined: Wed Sep 12, 2007 3:16 am
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
I don't see how file_get_contents() is the culprit, it reads and returns raw data, without any filtration or interpretation.
-
devendra-m
- Forum Contributor
- Posts: 111
- Joined: Wed Sep 12, 2007 3:16 am