Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

how to Encode Arabic words into base 64

(0) ShareShare
ReportReport
Posted on by 90

I am trying to generate QR code but it does not give correct data when there are Arabic words 

this is the code I am trying to run 

BarcodeFontProvider := Enum::"Barcode Font Provider 2D"::IDAutomation2D;
BarcodeSymbology := Enum::"Barcode Symbology 2D"::"QR-Code";
BarcodeString := base64.ToBase64(QrCode, TextEncoding::UTF8);
EncodedText := BarcodeFontProvider.EncodeFont(BarcodeString, BarcodeSymbology);
QrCode is the array of data 
it works properly without Arabic words
  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: how to Encode Arabic words into base 64

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.dynamicsuser.net/.../14

    I will open this up to the community in case they have something to add.

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans