[Building Sakai] (no subject)

Matthew Jones matthew at longsight.com
Fri Jan 24 06:02:13 PST 2014


Yeah, never heard of that one. I guess it's very operating system specific.

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.


import java.lang.*;
public class FileEncoding {public static void main(String[] args)
{System.out.println("file.encoding=" +
System.getProperty("file.encoding"));}}


On Fri, Jan 24, 2014 at 2:00 AM, Daniel Merino <daniel.merino at unavarra.es>wrote:

>  I think that time ago we solved a similar issue adding
>
> -Dfile.encoding=UTF-8
>
>
> to Tomcat's parameters.
>
>  El 23/01/14 23:17, Claudia Roberta escribió:
>
> Thanks for the reply.
>
> Yes, I modified.
> But it did not work.
>
>
> 2014/1/23 Sam Ottenhoff <ottenhoff at longsight.com>
>
>> Have you modified your Tomcat Connector configuration to set
>> URIEncoding="UTF-8"?
>>
>>  https://confluence.sakaiproject.org/display/I18N/Common+UTF-8+Problems
>>
>>
>>
>>  On Thu, Jan 23, 2014 at 4:56 PM, Claudia Roberta <claudia.icmc at gmail.com
>> > wrote:
>>
>>>   Hi guys!
>>>
>>> I have an error in samigo tool,
>>>
>>> when I hover over the attachment in the samigo link, the URL shows as
>>>
>>>
>>> http://localhost:8080/access/content/attachment/0090d715-a6d0-4e05-8c7f-4066f16e3037/Exerc%EDcios/6a7b7086-e94f-4d03-a2ff-cef00bf6e269/testando%20anexo.txt
>>>
>>> This URL is incorrect!
>>>
>>> Exerc%EDcios = it's incorrect because the word is  accentuated.
>>> testando%20anexo.txt = it's incorrect because the word has white space.
>>>
>>> Here is how to reproduce this issue:
>>>
>>> 1. Create a new assessment
>>> 2. Click on "Add attachments" button
>>> 3. Add a file whose name contains any white space or with accents. For
>>> example: "testando anexo.txt"
>>> 4. If you click on the link of this file in Assessment tool, or go to
>>> Preview page, or in the new assessment,  If you click on the file link
>>> here, you will get a 404 error.
>>>
>>> Can someone help me?
>>>
>>>  Tks,
>>>
>>>  Claudia
>>>
>>>  _______________________________________________
>>> 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 listsakai-dev at collab.sakaiproject.orghttp://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
> --
> Daniel Merino Echeverría
> daniel.merino at unavarra.es
> Gestor de teleformación - Centro Superior de Innovación Educativa.
> Tfno: 948-168489 - Universidad Pública de Navarra.
> --
> El primer defecto de la humanidad fué la fé. La primera virtud, la duda.
> (Carl Sagan)
>
> _______________________________________________
> 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/5cb29212/attachment.html 


More information about the sakai-dev mailing list