UTF-8 characters problem
Closed this issue · 2 comments
Hi,
I am trying to create a document with a UTF-8
string for property cmis:title
(e.g., 新商品情報
).
If I set that property when I create the document through $session->createDocument($properties, ...)
then the uploaded file has a completely wrong title (some non-printable chars).
Instead, if I first create the document with no properties and then perform an update through $document->updateProperties(...)
everything is ok.
Is this problem related to your (or any underlying) library?
Here I attach 2 screenshots:
We will check.
This is mostly a note for myself: there could very well be a difference between the request generated from the two methods - some methods were refactored a while back to use POST method to limit the URL length for some of the larger requests. It could be a problem we introduced with that - or it could be that the request parameters are decoded differently when using GET/POST respectively.
In any case, we definitely need to check that our outgoing requests are the same from both methods!