-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
Do you have guidance on how to properly handle the case where qbXML contains non-ASCII and/or reserved characters as mentioned on How does qbXML handle special characters? (this is easy to do, for example, in fields Name, FirstName, LastName, CompanyName)
Is there some readily available Nokogiri::HTML or Nokogiri::XML incantation that will cleanse a string prior to submitting it to QBWC? (to avoid error "QuickBooks found an error with the XML")
Is it possible for Qbxml to handle this cleansing automatically, or at least could there be some function provided to do so?
If I understand the process correctly, this test string:
nonascii = 'Ray "you can call mé" <J. johnson>'
Must be transformed into this string prior to submitting it to QBWC:
Ray \"you can call mé\" <J. johnson>
Metadata
Metadata
Assignees
Labels
No labels