You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running Unicode characters in da4 there are execution time errors for Python3. However, this should not happen as Unicode is the default for strings in Python3.
An example is the following code:
test = "á"
That produces the following "syntax error":
File "<stdin>", line 0
^
SyntaxError: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
I think that the error is caused due to the LANG environment variable. Running in da4:
echo $LANG
I get that the language is C. However, if I run the same command in da0 I get en_US.UTF-8. Therefore, if we set the language of da4 using:
export LANG="en_US.UTF-8"
Then executing the code from above removes the error. I'm not sure if this is something that is happening in other servers or could be configured globally as a fix.
The text was updated successfully, but these errors were encountered:
Hello!
While running Unicode characters in
da4
there are execution time errors for Python3. However, this should not happen as Unicode is the default for strings in Python3.An example is the following code:
That produces the following "syntax error":
I think that the error is caused due to the LANG environment variable. Running in
da4
:I get that the language is
C
. However, if I run the same command inda0
I geten_US.UTF-8
. Therefore, if we set the language ofda4
using:Then executing the code from above removes the error. I'm not sure if this is something that is happening in other servers or could be configured globally as a fix.
The text was updated successfully, but these errors were encountered: