[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
> Hi all,
> 
> We are facing a weird issue. The following code (provided the right host 
> name, username and password)...
> 
> áéíóú
> 
> <%
> import groovy.sql.Sql
> db = Sql.newInstance("jdbc:mysql://hostname/database", "username", 
> "password", "com.mysql.jdbc.Driver")
> List samplesIA = db.rows('SELECT * FROM saltmines s where es like "I" 
> and ess like "A" and ids>=1')
> %>
> 
> Tomáronse un total de <% println "${samplesIA.size()}"%> mostras da 
> secuencia sedimentaria do perfil P3-6-IA.
> 
> 
> Edited by any user but admin with programming rights is rendered as...
> 
> http://mire.environmentalchange.net/~webmaster/images/RightCharaters.png
> 
> 
> Edited by admin it is rendered this other way...
> 
> http://mire.environmentalchange.net/~webmaster/images/WrongCharacters.png
> 
> Please, not the question marks and the absence of the number 32.
> 
> This happens with any page containing Groovy code in this server, but I 
> am not able to reproduce the problem in my test environment. Both of 
> them run 1.3-milestone-1.7186.
> 
> Please, do you know why this could happen? Thanks!
> 
> Best regards,
> 
> Ricardo
> 
> 

Probably an encoding issue. Can you check the values of:
- file.encoding jvm property
- xwiki.encoding in xwiki.cfg
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to