Yes, something that seems VERY simple can get VERY complicated, VERY fast!
Friend did this site, he has put in a zillion hours figuring out all
the characters issues. one of the rockstar coders (dreams in vi), and
still he says, learning something new everyday. :-)))
http://dreamtype.com/
"You
On 10/22/2010 14:50, Paul A Houle wrote:
I'm running into the problem that people are searching for "Dusseldorf" but
the name of the place is "Düsseldorf", so they don't find it.
That is very unfortunate, because that is the city I was born in. As for your
problem, I got nothing.
David
_
On Oct 22, 2010, at 2:50 PM, Paul A Houle wrote:
> I'm running into the problem that people are searching for "Dusseldorf" but
> the name of the place is "Düsseldorf", so they don't find it.
I haven't seen a php function to do it (not to say one doesn't exist).
However, I use sphinx for searc
Hi Paul,
You can achieve that with unicode transliteration:
http://cldr.unicode.org/index/cldr-spec/transliteration-guidelines
Check out the PHP Iconv extension:
http://us.php.net/manual/en/intro.iconv.php
Hope that helps!
Regards,
Andrew
On 10/22/10 2:50 PM, Paul A Houle wrote:
For m
For my site at
http://ookaboo.com/
I'm running into the problem that people are searching for "Dusseldorf"
but the name of the place is "Düsseldorf", so they don't find it.
It seems to me a good answer to this is to have some function that
squashes accented characters down to unaccented fo
I'm not sure that I fully understand the subtleties of the data/
problem but...
array_walk_recursive might be part of a solution.
You could write a callback function to use with it to do whatever you
need.
http://www.php.net/manual/en/function.array-walk-recursive.php
hth,
glenn
On Oct 2
it looks deceptively good at first for count.count($arr_countable_items) will count all the first dimension arrays, with the recursive param it seems it will count every element in every array.also if the array is an index array and not precisely indexed 0, 1, 2, 3, , the count will failPeter
On 10/21/2010 22:26, Peter Sawczynec wrote:
What is the proper best way for me to count how many (if any) b_arrays are in
$arr_countable_items.
What is the best way to count how many value1s (if any) are in
$arr_countable_items_2.
Hi!
Doesn't count() do what you need to do? Without para