Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem