Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
How do I make a text file with code page UTF-8 in Axapta 3.0?
I cannot use
myFile = new CommaIo(myFileName, 'W', 65001);
as we can in newer versions of Axapta. In Axapta 3.0 new CommaIo only have the first two parameters.
Please check this solution from Russian Axapta forum axforum.info/.../showthread.php
Thanks, but in my Axapta 3.0, I cannot make a variable of type "System.Text.Encoding", "System.Text.UTF8Encoding" or "System.IO.StreamWriter".
I was pointing to this xpo axforum.info/.../attachment.php :-)
Both CLR Interop and the support for Unicode were introduced fourteen years ago, in AX 4.0. Not upgrading for fourteen years clearly have consequences.
Maybe you should simply create the file in another encoding and convert it to UTF-8 outside AX. If you truly can't do that, consider DLL* classes that existed even in AX 3.0, but don't expect anything easy. If I was you, I would rather use a script outside AX.
XPO (from the last link) contains a class with conversion methods based on DLL approach. If it doesn't work it could give at least an idea.
Thanks a lot, Martin!
Thanks a lot, Sergei.
Business Applications communities