Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Ax2009 EP - charset problem in VisualStudio

(0) ShareShare
ReportReport
Posted on by 115

How can I write regional font in Enterprise Portal making Web Part in Visual Studio 2008 ? Labels and data from database (ex AxGridView) displayed correctly on EP html pages. But I don't want to use Ax2009 labels on Web Parts. When I wrote something in VisualStudio Web Part (ascx) polish font are displayed correctly in VisualStudio source view and design view, but after save and rebuild polish fonts displayed in EP incorrect.

In VisualStudio  in Advances Save Options I set "unicode (UTF-8 with signature) - codepage 65001"

But still all text writed in VisualStudio Web Part after rebuild are displayed incorrect in Enterprise Portal. What can I do to display polish font on Enterprise Portal ?

 

Regards

*This post is locked for comments

  • user5555 Profile Picture
    user5555 7,435 on at
    Asp.net charset

    Hi,

    I have no idea of Enterprise Portal programming and webparts. I only know it uses IIS and ASP.net. The browser only can see one document definition (UTF-8). This document definition hold for the complete generated html page for the browser. It might be that the Enterprice Portal is not generating UTF-8 format html. Since your webparts are 'children' of the EP, the children won't get UTF-8 although you see them correctly in View and Design View in VS.

    Use view source in IE and look for the document format. If the document in runtime is not having UTF-8, then do a 'Save as' of the webpage to html. Then open with notepad and change the document to UTF-8. Save it, if you then open it and the webparts are correct, then my store above is happening. You need to find how you can control the document output of EP. In most Asp.net web applications this is the default.aspx document. There the document type is defined for all rendered pages/ controls etc. in IIS.

    Hope this helps.

    J.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans