Create manual notes with special character, example "é"

MEME
Member Posts: 3
Hi,
When I create manual notes (It is OK), but in screen notes RTC (the character "é" is not interpreted correctly to display) ;
CLEAR(RecGRecordLink);
RecRefG.GETTABLE(Rec);
RecGRecordLink."Link ID" := 0;
RecGRecordLink."Record ID" := RecRefG.RECORDID;
RecGRecordLink.Type := RecGRecordLink.Type::Note;
TxtGNotes := 'Bloqué';
CharGLen := STRLEN(TxtGNotes);
TxtGNotes := FORMAT(CharGLen) + TxtGNotes;
RecGRecordLink.Note.CREATEOUTSTREAM(OutGNotes);
OutGNotes.WRITETEXT(TxtGNotes);
RecGRecordLink.Created := CURRENTDATETIME;
RecGRecordLink."User ID" := USERID;
RecGRecordLink.Company := COMPANYNAME;
RecGRecordLink.INSERT(TRUE);
Thanks for your answers.
When I create manual notes (It is OK), but in screen notes RTC (the character "é" is not interpreted correctly to display) ;
CLEAR(RecGRecordLink);
RecRefG.GETTABLE(Rec);
RecGRecordLink."Link ID" := 0;
RecGRecordLink."Record ID" := RecRefG.RECORDID;
RecGRecordLink.Type := RecGRecordLink.Type::Note;
TxtGNotes := 'Bloqué';
CharGLen := STRLEN(TxtGNotes);
TxtGNotes := FORMAT(CharGLen) + TxtGNotes;
RecGRecordLink.Note.CREATEOUTSTREAM(OutGNotes);
OutGNotes.WRITETEXT(TxtGNotes);
RecGRecordLink.Created := CURRENTDATETIME;
RecGRecordLink."User ID" := USERID;
RecGRecordLink.Company := COMPANYNAME;
RecGRecordLink.INSERT(TRUE);
Thanks for your answers.
0
Comments
-
Try it in different way. Write the text in RTC and try to read it in code. Look how it is created and try to understand it... it looks like you need to do some conversion...0
-
Hi,
thank you.
I do it, and i replace "é" in my text by result of insert manuel from RTC.
And it is OK.0 -
I suppose I've always wondered why Navision A/S thought using the OEM character set was a good idea for a windows application. Anyone know ? K?Robert de Bath
TVision Technology Ltd0 -
Because all was based on DOS version? ;-) (backward compatibility is something what makes the development slower)0
-
That would be my guess, but I think it would have had to be a really messy upgrade to make it better there than at the database interface (where eg MS-SQL does it).
I really don't understand why MS have done the same thing in the 2009 update though.Robert de Bath
TVision Technology Ltd0 -
Because same thing.... backward compatibility... until Native DB is discontinued, you cannot change much... ;-)0
-
Yes, that'll be the excuse. Of course, this time round they could have fixed the character sets but ... oh what's the use. Sometimes I just wish Microsoft actually cared about more than money.Robert de Bath
TVision Technology Ltd0 -
rdebath wrote:Yes, that'll be the excuse. Of course, this time round they could have fixed the character sets but ... oh what's the use. Sometimes I just wish Microsoft actually cared about more than money.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions