Unicode characters problem in AutoCAD 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi to all,
In my applications I use both VB.NET and AutoLISP. Some VB.NET applications create temporary text files (*.txt) that are then read by a Lisp function. As I live in Greece, these files include many Unicode characters. After having upgraded my BV.NET projects from .NET Framework to .NET 8.0, the Unicode characters are not read correctly by Lisp. For example, this is a screenshot from AutoCAD 2024:
And this is the same screenshot from AutoCAD 2025:
I haven't changed anything in my VB.NET projects, I have just upgraded them, using the Upgrade Assistant. To create the temporary files, I use the "FileOpen" function. When I open the txt file with Notepad, the Unicode characters appear correctly (for example "Δ" or "%%c"). But when Lisp opens the file, it produces gibberish. I know that all this sounds... Greek to you, but does anybody know why this is happening? Does "FileOpen" behave differently in .NET than it does in .NET Framework?
Thanks in advance,
ziggy63