phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.42k forks source link

German text encoding issue after scanning qr code from plugin #556

Open sanny16 opened 7 years ago

sanny16 commented 7 years ago

Hi,

I am using bar code scanner in an sap ui5 application, and during debugging i found out that in the result of barcode plugin proper german text was not being captured properly whereas if i just mention static german text in application it is being properly displayed. For example: "gesägt" (actual german text in qr code) is getting converted into "gesägt" (after scanning qr code via plugin).

I am using google chrome to test application on desktop. Static german text is being displayed properly on browser if i hard code it in the application.

I have already included this "<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>" in index.html file of application so it handles static data display. As of now this app is being used locally ,so no server call is going.

What can be the problem for this issue? Please post your suggestions.

Thanks, Sanny.

macdonst commented 7 years ago

@sanny16 can you provide a sample barcode I can scan for testing? Also, you didn't mention if this problem is on Android, iOS or both?