Recent

Author Topic: missing a lot of functions from WideStrUtils  (Read 463 times)

CapelliC

  • Jr. Member
  • **
  • Posts: 53
missing a lot of functions from WideStrUtils
« on: July 07, 2020, 03:29:35 pm »
Refreshing an old app from delphi 2007, several functions are missing from WideStrUtils.
Are them available elsewhere or should I attempt to compile from source ?

Thaddy

  • Hero Member
  • *****
  • Posts: 10470
Re: missing a lot of functions from WideStrUtils
« Reply #1 on: July 07, 2020, 03:39:21 pm »
a) which functions? You do not mention any...?
b) compiling from code is always a better idea just after a conversion.
« Last Edit: July 07, 2020, 03:45:35 pm by Thaddy »
When you ask a question that is actually answered in the documentation, you are either lazy or a moron.

CapelliC

  • Jr. Member
  • **
  • Posts: 53
Re: missing a lot of functions from WideStrUtils
« Reply #2 on: July 07, 2020, 03:46:23 pm »
a) which functions? You do not mention any...?
b) compiling from code is always a better idea.

Thanks for the quick reply, I understand my question is fuzzy...

HasExtendCharacter was in WideStrUtils,
some others like StrEncodeUtf8 did come from another package, DIHtmlParse, huge and complex to compile.



are the two that are missing right now.
« Last Edit: July 07, 2020, 04:01:45 pm by CapelliC »

PascalDragon

  • Hero Member
  • *****
  • Posts: 2135
  • Compiler Developer
Re: missing a lot of functions from WideStrUtils
« Reply #3 on: July 08, 2020, 09:26:40 am »
Best to report missing functions on the bugtracker.

Alextp

  • Hero Member
  • *****
  • Posts: 1121
    • UVviewsoft
Re: missing a lot of functions from WideStrUtils
« Reply #4 on: July 08, 2020, 09:50:02 am »
I may implement this func. will try it soon.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8730
  • FPC developer.
Re: missing a lot of functions from WideStrUtils
« Reply #5 on: July 08, 2020, 10:38:52 am »
Note that anything related to strings and encoding heavily changed with D2009, and FPC mostly follows those signatures.

(e.g. utf8string means ansistring(65001) etc)

Alextp

  • Hero Member
  • *****
  • Posts: 1121
    • UVviewsoft
Re: missing a lot of functions from WideStrUtils
« Reply #6 on: July 08, 2020, 10:54:45 am »

CapelliC

  • Jr. Member
  • **
  • Posts: 53
Re: missing a lot of functions from WideStrUtils
« Reply #7 on: July 08, 2020, 11:45:08 am »
Many thanks to all !

Note that anything related to strings and encoding heavily changed with D2009, and FPC mostly follows those signatures.

(e.g. utf8string means ansistring(65001) etc)

This gives me an important clue while digging deeper into my port/refresh task.

Take my implementation
https://bugs.freepascal.org/view.php?id=37315

Wow, let me say a special thank you for this.
OT: I didn't know about SynEdit. Very interesting indeed. Will try ASAP.

 

TinyPortal © 2005-2018