Recent

Author Topic: Unicode support on win32  (Read 4730 times)

RentGen

  • New Member
  • *
  • Posts: 14
    • http://spider-player.com
Unicode support on win32
« on: February 18, 2009, 11:11:07 am »
This wiki article says:
Quote
As of Lazarus 0.9.28 the Windows and Windows CE interfaces support Unicode fully.
Well, things like "Memo.LoadFromFile" will result in a runtime error if you'll try to load a file named like this: "ファイル.txt" Also, you just have to look at the code for "FileOpen", "CreateFile" and many other functions to clearly tell that they won't work with Unicode file names.
All tested with todays nightly build.
I hope it means that 0.9.28 is not quite there yet and by the time it's ready all these issues will be solved.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Unicode support on win32
« Reply #1 on: February 18, 2009, 12:06:41 pm »
I am afraid, this not fixable by the lazarus team, but needs a fix in the FPC RTL. See http://bugs.freepascal.org/view.php?id=12923

RentGen

  • New Member
  • *
  • Posts: 14
    • http://spider-player.com
Re: Unicode support on win32
« Reply #2 on: February 18, 2009, 12:10:23 pm »
Oh, I see... Good thing this is already in the bugtracker.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Unicode support on win32
« Reply #3 on: February 18, 2009, 12:13:00 pm »
Well, this particular issue is not in the bug tracker. TStrings.LoadFromFile() with a non-ansi name.

RentGen

  • New Member
  • *
  • Posts: 14
    • http://spider-player.com
Re: Unicode support on win32
« Reply #4 on: February 18, 2009, 12:19:45 pm »

 

TinyPortal © 2005-2018