Menu

LoadFromFile/SaveToFile with Unicode File Names support for non-Unicode Delphi versions?

Anonymous
2014-10-31
2014-11-06
  • Anonymous

    Anonymous - 2014-10-31

    Hi, I have looked into OXml and was pleased to see the support of Unicode (OWideString) for older versions of Delphi (5/7).
    But, next thing I have noticed is that Load/SaveToFile(FileName: string) in all units (OWideSupp, OXmlCDOM, etc).
    It would be great if FileName was also OWideString and could be saved/loaded from Unicode file names. I know It's a lot of work :)
    I could patch the sources with help of TntSysUtils/TntClasses, but then OXml will not be native or stand alone so to speak.
    What do you think about this issue?
    Thanks.

     

    Last edit: Anonymous 2014-10-31
  • Ondrej Pokorny

    Ondrej Pokorny - 2014-11-06

    I don't see it's an issue. Everybody that uses old Delphi versions with TNT components can use TTntFileStream and then load documents with LoadFromStream, etc.

    It's actually about 6 lines of code :)

     

    Last edit: Ondrej Pokorny 2014-11-06

Anonymous
Anonymous

Add attachments
Cancel