> So.. This being a CF list...
> 
> What does PHP pack do?
> 
> and this isn't a CF equivalent, it's a javascript equivalent.

In PHP Pack() is a complicated way of doing the equivalent of this in
CF: toBinary(toBase64("my string")) 

What's added by pack() beyond that CF example is a bunch of formatting
options for the input string like pad-with-spaces, pad-with-nulls, etc.

The "H" option he mentioned is described as "Hex string, high nibble
first". My guess would be "high nibble first" vs. "low nibble first"
(lowercase h) is describing unicode formatting - whether it's the high
bit or the low bit that indicates if the current byte is the beginning
of a double-byte character. I'm not certain of that though. 



-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
     ph: 781.769.0723

http://onTap.riaforge.org/blog



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314736
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to