[Building Sakai] (no subject)

Steve Swinsburg steve.swinsburg at gmail.com
Mon Jan 27 15:30:09 PST 2014


Can you find the entry in the database and see if it is stored correctly?
It might be when it is retrieving the URL that it is being escaped.


On Sat, Jan 25, 2014 at 4:13 AM, Claudia Roberta <claudia.icmc at gmail.com>wrote:

> Thanks for your replies.
>
> When I created the database, I used the command:
> sakai create database default character set utf8;
>
> I checked the browser and it is set to utf8.
>
> The tomcat is set to utf8 in the server.xml file:
>
> <Connector URIEncoding="UTF-8" acceptCount="100" connectionTimeout="20000"
> disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192"
> maxSpareThreads="75" maxThreads="150" minSpareThreads="25" port="8080"
> redirectPort="8443"/>
>
> The JAVA_OPTS is set with "-Dfile.encoding = UTF-8"
>
> And OS is Windows 8 -  version 6.2.9200
>
> The oddest is that it in the event of the tomcat console showed:
>
> INFO http-8080-Processor24
> org.sakaiproject.eventlog.impl.AbstractEventHandler - handling
> content.new(/content/attachment/0090d715-a6d0-4e05-8c7f-4066f16e3037/Exercícios/4ea5b0a5-7a79-47cf-9557-5dce5d7803e7/testando
> anexo.txt) in 0ms
>
> In other words, in the event the url is correct.
>
> Any idea?
>
> Tks
>
> Claudia
>
>
>
>
> 2014/1/24 Seth Theriault <slt at columbia.edu>
>
>> On Fri, Jan 24, 2014 at 9:02 AM, Matthew Jones <matthew at longsight.com>
>> wrote:
>>
>> > Running the program below (FileEncoding.java) on Ubuntu results in
>> > "file.encoding=UTF-8", but running it under Windows 7 it says
>> > "file.encoding=Cp1252". If this is a required setting for Windows to
>> change
>> > the encoding (or some OSes) it's worth adding to the UTF-8 guide.
>>
>> On OS X, for example, the default is "MacRoman" and Windows XP is also
>> Cp1252.
>>
>> In addition, if for some reason, you don't have access to specify the
>> parameters, you can also set the environment variable
>> JAVA_TOOL_OPTIONS to "-Dfile.encoding=UTF-8" per:
>>
>>
>> http://stackoverflow.com/questions/361975/setting-the-default-java-character-encoding/623036#623036
>>
>> Seth
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140128/cd92c035/attachment.html 


More information about the sakai-dev mailing list