right now, it cannot display unicode characters such as 'Tröegs'

Comments

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)

I'm unable to replicate this issue. I tried creating an item in my multiselect field and used the title above. It appears correctly on my system and I'm able to move it from side to side.

skyredwang’s picture

Status: Postponed (maintainer needs more info) » Active

When a user create a list of items, the characters display correctly(from left to right, and right to left). But, when a user comes back to edit this list. for example, an item called "Mom's cookie" will display "Mom's cookie"

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)

In the last comment, you wrote the exact same phrase twice. I'm not sure what you meant to communicate there.

skyredwang’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new96.38 KB

sorry, Drupal.org's filter changed the escaped characters back to normal. here is a screen shot. Please notice the third item on the right side. It should be "Lindeman's Framboise"

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)

Could you try temporarily switching the field back to a regular CCK "select" and see if you get the same behavior?

skyredwang’s picture

Status: Postponed (maintainer needs more info) » Active

confirm: it displays correctly, using the regular CCK Select

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new58.49 KB

So I tried creating this character in MS Word and adding into the "available options" on one of my CCK fields. That didn't work to reproduce the bug though (see screenshot attached). Do you have any ideas of what else I might try to duplicate the errors that you're seeing?

skyredwang’s picture

Status: Postponed (maintainer needs more info) » Active

attheshow,

I feel one fact is weird. When you are creating the list, there is no problem of displaying the characters. But after you save it and come back to edit it, the problem occurs. I felt something happened after the node_save().

attheshow’s picture

Ok, I tried saving the node and then editing it again. No change. Everything still looks fine on my test site.

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)
skyredwang’s picture

Title: unicode characters display » need to decode htmlentities
Version: 6.x-1.2 » 6.x-1.4
Status: Postponed (maintainer needs more info) » Active

You need htmtlentites.decode() each entry.

I changed the title of this issue

attheshow’s picture

Status: Active » Closed (fixed)

Closing issue. No other users have reported this and I'm not able to replicate it.

reinholdlange’s picture

Status: Closed (fixed) » Active
StatusFileSize
new5.84 KB

Thank you so much for this module, attheshow. I use it extensively and feel as though it adds a lot to the UI. - I too have come across this issue; please take a moment and have a look at the attached screenshot. Thanks.

attheshow’s picture

Are you using the views module to build your list of items? Where is the & code coming from?

reinholdlange’s picture

Thanks for your reply, attheshow. - I am using the Taxonomy module to create terms, these terms are exposed via CCK (Content Taxonomy) and then I use Multiselect to render the edit form.

attheshow’s picture

Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new89.25 KB

I just tried this and wasn't able to duplicate the issue using a Content Taxonomy CCK field (see attached screenshot). What else should I try to duplicate this?

skyredwang’s picture

Version: 6.x-1.4 » 6.x-1.5

Looks like this issue is fixed in 1.5, please check.

reinholdlange’s picture

attheshow - thank you for your continued work on this; I am much obliged. I upgraded to 1.5 and am still seeing the phenomenon. For your information, on the 'edit' page of the node(s) I am working on, when I add a term containing an ampersand, the term is moved and correctly displayed in the 'Selected Options' field. However, once I hit 'Save' on the edit form, and then return to it, I see the encoded html entity (&).

Thanks.

attheshow’s picture

Version: 6.x-1.5 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Needs review

I just made a change related to this for issue #276091: Shows HTML code in selected items list when using a view to select nodes. This change should appear in the dev version. Can someone test and see if this remedies the issue here?

reinholdlange’s picture

I will test and report back to you. Thank you so much for working on this.

attheshow’s picture

Status: Needs review » Fixed

No response, so I'm assuming this is working. Marking as fixed.

attheshow’s picture

Assigned: Unassigned » attheshow

Status: Fixed » Closed (fixed)

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