[ 
https://issues.apache.org/jira/browse/AIRAVATA-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538475#comment-17538475
 ] 

ASF subversion and git services commented on AIRAVATA-3618:
-----------------------------------------------------------

Commit d75db024af80b876eb8dbc3b9e5c892feced6b9f in airavata-django-portal's 
branch refs/heads/develop from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=d75db024 ]

AIRAVATA-3618 Upgrade to sdk 1.3.2


> UnicodeDecodeError when editing a text file
> -------------------------------------------
>
>                 Key: AIRAVATA-3618
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3618
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> UnicodeEncodeError occurs when updating a data product with text that 
> includes unicode characters: 
> https://github.com/apache/airavata-django-portal/blob/develop/django_airavata/apps/api/views.py#L826-L829
> h3. Steps to reproduce
> 1. Upload a text file into user storage
> 2. Click on the file.
> 3. In the editor, add the following characters to the file.
> {code}
> ización aci
> {code}
> 4. Save file
> h3. Expected results
> File saves successfully
> h3. Actual results
> Error message *'ascii' codec can't encode character '\\xf3' in position 5: 
> ordinal not in range(128)* and file fails to save.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to