That sounds like a bug in Semantic Forms, that only shows up with certain database "collations". Hopefully there's an easy fix for it...
-Yaron On Thu, Mar 19, 2009 at 2:10 PM, Ben <[email protected]> wrote: > > I have a Property of type String that is restricted to Allowed Values > only. The values are in Spanish, and some of the words contain accents > (Inmigración, Opinión, Revén, Nuestro Países, etc). Everything > appears normal within the Property Page (while viewing and editing). > However, when the Property is referenced by a Semantic Form field, the > words with accents are not being displayed properly in the drop-down > list or listbox (Inmigración, Opinión, Revén, Nuestro PaÃses, > etc). I went to Referata to try and duplicate my problem, but the > Referata wiki displayed the accented words correctly. Does anyone have > an idea about what may be causing this problem (see version details > bellow)? > > I configured MediaWiki it to use the "MySQL 4.1/5.0 UTF-8" character > set during installation. MySQL is using a default MySQL character set > of "UTF-8 Unicode (utf8)", and a default connection collation of > "utf8_unicode_ci". All of my MediaWiki tables are InnoDB with a > utf8_general_ci Collation, with the exception of the "searchindex" > table which is MyISAM and latin1_swedish_ci. > > I am still in the development phase, so I am able to make whatever > changes are necessary to fix the problem; even wiping out the wiki and > starting from scratch, although I would like to avoid that if > possible. The computer I am developing on is within a LAN, and not > accessible from the Internet. > > Here are some examples of how I have the Property - Template - Form > configured: > > Property: Newspaper Section > [[Has type::String]] > [[Allows value::Inmigración]] > [[Allows value::Opinión]] > [[Allows value::Revén]] > etc > > Template: Newspaper Article Publishing Details > [[Newspaper Section::{{{Newspaper Section|}}}]] > > Form: Newspaper Article > {{{for template|Newspaper Article Publishing Details|multiple| > label=If Article is Published:}}} > '''Newspaper Section:''' {{{field|Newspaper Section}}} > > Version Details: > MediaWiki 1.14.0 > PHP 5.2.6 > MySQL 5.0.45 > Apache 2.2.3 > OS: CentOS 5.2 (Linux Kernel 2.6.18-92.1.6.el5) > > Semantic Extensions: > Semantic MediaWiki 1.4.2 > Semantic Forms 1.5.4 > Semantic Drilldown 0.5.4 > > -Ben > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
