• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-391
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Omei Turnbull
Votes: 21
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

llEmail and llHTTPRequest do not handle non-ASCII characters

Created: 02/Jul/07 07:42 PM   Updated: 31/Mar/09 01:56 PM
Return to search
Component/s: Scripts
Affects Version/s: 1.17.0
Fix Version/s: None

Issue Links:
Duplicate
 
Relates

Last Triaged: 31/Mar/09 08:30 AM
Linden Lab Issue ID: DEV-29868


 Description  « Hide
llEmail and llHTTPRequest (and perhaps others?) do not translate non-ASCII characters into UTF8. A simple example is the following script:
default
{
    state_entry()
    {
        string str = llUnescapeURL( "%E5%A4%B1" );
        llOwnerSay( str );
        llEmail(  [Your email address here],  "Test of Unicode character", str  );
    }
}

The Japanese character ? will be displayed in the chat window properly, but the character in the email will be "?".



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Omei Turnbull added a comment - 03/Jul/07 10:03 AM
I guess the Jira has problems with UTF-8 also. The last line should say that Unicode characters that are displayed properly in the viewer get converted to ? in the email.

blaise timtam added a comment - 29/Nov/07 05:47 AM
String litterals in scripts also still not support UTF-8
a simple llSay(0, "terminé"); will cause a compile error
turnaround: read all litteral strings from a notecard. (also makes script localization easyer)

march Korda added a comment - 02/Dec/07 05:58 PM
I think that the following issue is related about e-mail.
http://jira.secondlife.com/browse/SVC-412
Include "Content-Type: text/plain; charset=UTF-8" header in the messages forwarded from second life.

sasun steinbeck added a comment - 28/Dec/07 02:16 PM
This is incredibly annoying. Don't more than half of our users have alphabets with accented (etc.) characters? I had to work around this by calling llEscapeURL on the entire mail body and unescape it on the server end. It works, email should be able to handle foreign characters!