Released
Python FME API Objects: Enhancement for Unicode Support
There are many API methods which don't accept 'unicode' instance as their string type arguments.
e.g.
1st argument (attribute name) of FMEFeature.setAttribute
1st argument (message string) of FMELogFile.logMessageString
Currently users who are working with Non-ASCII locale have to add codes to check the class of each string value and convert it to a 'string' instance if it was a 'unicode' instance, to avoid the UnicodeEncodeError.
Hope every method will accept 'unicode' instances as string type arguments.
e.g.
1st argument (attribute name) of FMEFeature.setAttribute
1st argument (message string) of FMELogFile.logMessageString
Currently users who are working with Non-ASCII locale have to add codes to check the class of each string value and convert it to a 'string' instance if it was a 'unicode' instance, to avoid the UnicodeEncodeError.
Hope every method will accept 'unicode' instances as string type arguments.
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.