Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[25.x] Edit In Excel: Fix metadata generation bug when caption name uses `en… #2075

Conversation

DenLilleMand
Copy link
Contributor

@DenLilleMand DenLilleMand commented Sep 23, 2024

… dashinstead ofem dash` (#2032)

Summary Apparently in the Norwegian translation and maybe other places captions use en dash instead of the traditional em dash , I'm not sure if this is on purpose but it does make our integrations a little more complicated to do nicely, e.g. now I will make sure we support it in Edit In Excel, but we could easily have other integrations that breaks on this or will have in the future.

Can see the following two screenshots where the first line is using em dash and the second line is using en dash, where the en dash is encoded and the em dash is removed.
Code:

image Result:

image

Work Item(s)

Fixes
AB#548471

Summary

Work Item(s)

AB#550129

… dash` instead of `em dash` (#2032)

<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
Apparently in the Norwegian translation and maybe other places captions
use `en dash` instead of the traditional `em dash`
, I'm not sure if this is on purpose but it does make our integrations a
little more complicated to do nicely, e.g. now I will make sure we
support it in Edit In Excel, but we could easily have other integrations
that breaks on this or will have in the future.

Can see the following two screenshots where the first line is using `em
dash` and the second line is using `en dash`, where the `en dash` is
encoded and the `em dash` is removed.
Code:

![image](https://github.com/user-attachments/assets/ea84e70d-66ee-46e6-b031-8dde21471b4b)
Result:

![image](https://github.com/user-attachments/assets/506dc9da-fc6d-46b3-aa43-ea47aded264d)


#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#548471](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/548471/)
@DenLilleMand DenLilleMand self-assigned this Sep 23, 2024
@DenLilleMand DenLilleMand requested a review from a team as a code owner September 23, 2024 11:14
@github-actions github-actions bot added this to the Version 25.1 milestone Sep 23, 2024
@DenLilleMand DenLilleMand enabled auto-merge (squash) September 23, 2024 11:26
@DenLilleMand DenLilleMand merged commit f61705c into releases/25.x Sep 23, 2024
33 checks passed
@DenLilleMand DenLilleMand deleted the private/mattinielsen/backport-metadata-generation-error-for-en-dash-in-norway-tenants branch September 23, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants