|  | Posted by Dikkie Dik on 11/18/07 00:28 
>> What limitations? Strings can be "absurd" long.> By limitations I mean that the charset is 8-bit, only 256 unique chars.
 > If my string has an character like the french accent "e", it can lead to
 > problems.
 
 Well, yes, but string handling should be binary-safe in recent versions
 of PHP. I use utf-8 a lot, and I never ran into that kind of problems.
 The only thing I have to take care of is the fact that some characters
 are represented by more than one "character".
 
 >> If you think the assignment is the problem, have you tried what
 >> $ef['title'] is directly before and after the assignment?
 > $ef['title'] is empty before the assignment, and "é to the White House"
 > after assignment. The funny part is that if I echo both variables right
 > below the line where the assignment occurs, $data is "Attaché to the
 > White House" and $ef['title'] is "é to the White House"
 
 
 That is really strange. I never encountered anything like it. Does it
 help (as an ugly workaround) to make it a reference assignment?
 Like: $ef['title'] &= $data;
 
 If so, it might help to "clone"-assign it to a non-array (local)
 variable first and then "reference"-assign that that local variable to
 the $ef['title']
 
 Just curious...
  Navigation: [Reply to this message] |