ScottPugh
6 years agoQrew Cadet
International Character Support
Having some trouble getting a text string into QB that includes international characters.
Here is the original string: LÉČIVA 5 UI/ml soluţie injectabilă
I have confirmed that if I copy/paste this into a Rich Text field I can store and view it within QB with no issues (interestingly a regular text field does NOT work)
My challenge now is I am sending these strings into QB via the addrecord API... The XML used in the body of the API call to add this field is below. I've confirmed it is the correct UTF-8 encoded string:
<field fid="xx">L\xc3\x89\xc4\x8cIVA 5 UI/ml solu\xc5\xa3ie injectabil\xc4\x83</field></qdbapi>
However when sending in via API the resulting text in QB appears as:
LÉCIVA 5 UI/ml solutie injectabila
Just trying to figure out if this is something I"m doing wrong in the API call...or if this is the expected behavior of QB.
------------------------------
Scott Pugh
------------------------------
Here is the original string: LÉČIVA 5 UI/ml soluţie injectabilă
I have confirmed that if I copy/paste this into a Rich Text field I can store and view it within QB with no issues (interestingly a regular text field does NOT work)
My challenge now is I am sending these strings into QB via the addrecord API... The XML used in the body of the API call to add this field is below. I've confirmed it is the correct UTF-8 encoded string:
<field fid="xx">L\xc3\x89\xc4\x8cIVA 5 UI/ml solu\xc5\xa3ie injectabil\xc4\x83</field></qdbapi>
However when sending in via API the resulting text in QB appears as:
LÉCIVA 5 UI/ml solutie injectabila
Just trying to figure out if this is something I"m doing wrong in the API call...or if this is the expected behavior of QB.
------------------------------
Scott Pugh
------------------------------