OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
677 stars 95 forks source link

Foreign characters stopped working when inserting signatures with OnNewMessageCompose event #3992

Closed SimonDania closed 9 months ago

SimonDania commented 9 months ago

Provide required information needed to triage your issue

Foreign characters stopped working in the Outlook 365 client when inserting signatures with OnNewMessageCompose event. It appears the issue is only present in the current channel. If I roll back to the monthly channel, it still works as expected.

Your Environment

Expected behavior

The foreign characters "Æ", "Ø" and "Å" are expected to be shown correctly.

Current behavior

I open a new mail and the OnNewMessageCompose event is fired as expected. Afterwards my signature is inserted, but I get weird characters instead of the expected letters. If I fire the same event manually, the foreign characters are shown correctly.

Steps to reproduce

  1. Open Outlook Client
  2. Start a new mail
  3. When the signature is inserted through our add-in, the characters are broken.

Context

The issue has been present ever since the current channel was updated in january.

Useful logs

How it looks:

image

How it is supposed to look:

image
kinkoazc commented 9 months ago

This is a duplicate of https://github.com/OfficeDev/office-js/issues/3892.

SimonDania commented 9 months ago

This is a duplicate of #3892.