QEWD-Courier / Ripple-Qewd

Node.js based middleware- for Ripple showcase stack
Apache License 2.0
15 stars 16 forks source link

RippleOSI doesn't support UTF8? #40

Open quan2nd opened 7 years ago

quan2nd commented 7 years ago

I see the ripple does not yet support the utf8 character? For example I add 1 new contact screenshot_1

And created

screenshot_2

The name in the contact has been changed to another name.

Quan from ThinkLabs-VN

tony-shannon commented 7 years ago

ok @maxcda101 , where should that issue be tackled? Is that a UI / middleware/ DB issue or all through the stack? We've discussed internationalisation support in the past, of course we wish to support it, though the resource involved would be considerable & need funding. If you can suggest a simple fix for this issue please let us know T

quan2nd commented 7 years ago

Is that a UI / middleware/ DB issue or all through the stack?

The issue falls within the scope of the middleware.

If you can suggest a simple fix for this issue please let us know

I'm investigating where the problem lies in the middleware.

Quan from ThinkLabs-VN

tony-shannon commented 7 years ago

thanks Please let us know T

On 27 June 2017 at 08:31, Nguyen Quan notifications@github.com wrote:

Is that a UI / middleware/ DB issue or all through the stack?

The issue falls within the scope of the middleware.

If you can suggest a simple fix for this issue please let us know

I'm investigating where the problem lies in the middleware.

Quan from ThinkLabs-VN

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/RippleOSI/Ripple-Qewd/issues/40#issuecomment-311276989, or mute the thread https://github.com/notifications/unsubscribe-auth/AA5X3HYXZBF3QAH2BSNX8oeOaf6ERrtzks5sIK_QgaJpZM4OE7Q6 .

tony-shannon commented 7 years ago

@maxcda101 Can I get an update on this issues please.. trying to tidy up here, thanks, T

ZuzooVn commented 7 years ago

@tony-shannon @robtweed

The problems come from middleware.

Step 1. Middleware saves data from EtherCIS to Redis/GT.M database with setDocument function.

setdocumentpatient

Step 2. Middleware get data from Redis/GT.M database

getdocumentpatient

Step 3. Middleware return data to Frontend.

viewdetailpatient

In step 1, middleware saves the Patient object to Redis/GT.M database without UTF-8, thus the problem comes.

Here is our quick test:

testsetdocumentproperty

returntest

IMHO, if setDocument function can support UTF8, everything will be OK.

Thanks Nam