in reply to Re^4: Trying to determine the output length of a Unicode string
in thread Trying to determine the output length of a Unicode string
You just changed your version of length_in_grapheme_clusters() to be more like Tom Christiansen's. I told you I thought your version was "weirdly dependent on context." It was. Now it's not because you changed it to be more like the one you disparaged earlier.
I had tested your original, uncorrected version of length_in_grapheme_clusters() in my Perl script and got results I didn't understand when I called the function in list context instead of scalar context.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Trying to determine the output length of a Unicode string
by ikegami (Patriarch) on Sep 26, 2011 at 20:29 UTC | |
by Jim (Curate) on Sep 26, 2011 at 21:22 UTC | |
by ikegami (Patriarch) on Sep 26, 2011 at 22:34 UTC |
In Section
Seekers of Perl Wisdom