Hi, after create new Views and add Proximity: Great-circle exposed as filter i have:
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
* warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /home/u2911/domains/u2911.titan.vps-private.net/includes/bootstrap.inc on line 840.
???
Comments
Comment #1
ademarco commentedYou have got those errors in the Views UI when editing the view or in the page where the filter is exposed? What are the Proximity filter settings? Which Drupal version are you running?
Comment #2
dgastudio commentedhi Antonio!
- views UI
- views screenshot and export, attached.
- drupal 6.19 (2 days ago, 6.17). Same problem.
sorry, some strings are in russian.
The problem happens only if i add Proximity as filter.
Comment #3
dgastudio commentedComment #4
ademarco commentedHi kervi, I cannot reproduce the problem. I've tried to add russian strings here and there but I never had any problems. BTW: do you still have it?
Comment #5
ademarco commentedI close it for the moment. Feel free to reopen if the problem shows up again.
Comment #6
dgastudio commentedok, thanks
Comment #7
derhasi commentedI had the same errors, and I found the reason for that. It was the usage of
substr()instead ofdrupal_substr(). Because of that it can cause a separation of multibyte chars (like in my case in a German charset).By using
drupal_substr()the errors I received have gone away.The patch is attached.
Comment #8
derhasi commentedsure, it needs review ;)
Comment #9
chuckbar77 commentedsubscribing
Comment #10
derhasi commented@chuckbar77, could you review the patch of #7?
Comment #11
ademarco commentedThanks for the patch! Committed: http://drupal.org/cvs?commit=484102