Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.LibIDNVersion

Queried LibIDN version.

Component Version macOS Windows Linux Server iOS SDK
CURL 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.LibIDNVersion" )

Parameters

none

Result

Returns text or error.

Description

Queried LibIDN version.
MBS Plugin have a dynamic LibIDN loading, which looks for libidn2.so or libidn2.so.0 on Linux.

On Ubuntu you can install it like this:
sudo apt-get install libidn2-0

If IDN library is missing, the curl library may not resolve domains with non ASCII characters. For Windows and MacOS we can fallback to OS functions.

Examples

Shows Lib IDN version used:

Show Custom Dialog ["IDN Version"; MBS( "CURL.LibIDNVersion" )]

See also

Release notes

Blog Entries

This function is free to use.

Created 14th April 2018, last changed 29th January 2023


CURL.IsRunning - CURL.LibSSHVersion