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.

???

CommentFileSizeAuthor
#7 875888.patch1.77 KBderhasi
#2 drup.jpg110.32 KBdgastudio
#3 views.txt55.48 KBdgastudio

Comments

ademarco’s picture

Status: Active » Postponed (maintainer needs more info)

You 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?

dgastudio’s picture

StatusFileSize
new110.32 KB

hi 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.

dgastudio’s picture

StatusFileSize
new55.48 KB
ademarco’s picture

Hi 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?

ademarco’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I close it for the moment. Feel free to reopen if the problem shows up again.

dgastudio’s picture

ok, thanks

derhasi’s picture

StatusFileSize
new1.77 KB

I had the same errors, and I found the reason for that. It was the usage of substr() instead of drupal_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.

derhasi’s picture

Status: Closed (cannot reproduce) » Needs review

sure, it needs review ;)

chuckbar77’s picture

subscribing

derhasi’s picture

@chuckbar77, could you review the patch of #7?

ademarco’s picture

Status: Needs review » Fixed

Thanks for the patch! Committed: http://drupal.org/cvs?commit=484102

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.