[Building Sakai] (no subject)

Claudia Roberta claudia.icmc at gmail.com
Fri Jan 24 09:13:06 PST 2014


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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140124/62c1b72d/attachment.html 


More information about the sakai-dev mailing list