Azure AD B2C Custom policy - localization issue

Nilam Patel 0 Reputation points
2024-03-21T16:57:47.7666667+00:00

Hi Team,

We have Azure AD B2C configured with custom policies. We are using localization and recently we added language support for French but its not displaying French character for e.g. à.


		

I applied below solution that works: Replaced à with á


		

Is there any other solution for this? Or this is the only way I should do it?

Edit : I am using page version 2.1.7 in data uri. Issue is only with custom localization that we have added. See below image, inbuilt text for e.g. Mot de passe oublié ? (Forgot your password?) displays correctly.

Test2

Thanks in advance,

Nilam

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2024-03-21T17:01:34.29+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Ensure that your XML files (containing the custom policies) are saved with the correct character encoding, such as UTF-8. This ensures that special characters are properly interpreted by the XML parser.

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **


  2. Nilam Patel 0 Reputation points
    2024-03-22T13:01:59.76+00:00

    Closing this thread, We found issue in our local system while deploying policy during the upload ps scripts messes up the encoding of the xml file.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.