Botframework-solutions: Update Cognitive Service powershell script (qnamaker:kb:export) qna export mangles special characters

Created on 24 Jul 2020  ·  3Comments  ·  Source: microsoft/botframework-solutions

What project is affected?

Deployment script

What language is this in?

What happens?

Special characters :
Prompts:

are exported like this

it needs to be - Plus d'information sur la lettre reçu des éléctions ?

What are the steps to reproduce this issue?

Steps to reproduce the behavior:

Create a knowledge base
Use the special characters in the Question or Answer field
Export using the update_cognitive_services.ps1 script
Inspect the resultant in Deployment/Resources/Qna/{language}/nameofknowledgebase.qna

What were you expecting to happen?

Support special characters such as é, ç, ë, à, etc.

Can you share any logs, error output, etc.?

Any screenshots or additional context?

Bot Services Bug customer-replied-to customer-reported

All 3 comments

Hi @edemehmetcan, we have an updated version of the script in our next branch here. Can you test it out and see if it resolves this for you?

Just tried and works perfectly. Nice to have a quick answer @lauren-mills. Need to close the thread ?

I am reopening this issue, I have the same problem right now even if I have put "-encoding oem $($outJson)"

image

Was this page helpful?
0 / 5 - 0 ratings