CURL.LibIDNVersion
------------------

Queried LibIDN version.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [8.2](newinversion82.md) | ✅ 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

- [CURL.LibSSHVersion](CURLLibSSHVersion.md)
- [CURL.LibSSLVersion](CURLLibSSLVersion.md)
- [CURL.VersionDetails](CURLVersionDetails.md)

### Release notes

- **Version 8.2**
    - Added [CURL.LibIDNVersion](http://www.mbsplugins.eu/CURLLibIDNVersion.shtml) and [CURL.LibSSHVersion](http://www.mbsplugins.eu/CURLLibSSHVersion.shtml).

### Example Databases

- [CURL/CURL Version and Protocols](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Version%20and%20Protocols.shtml#12916FieldAnchor_)

### Blog Entries

- [Translating Insert from URL options for CURL to MBS Plugin calls](https://www.mbsplugins.de/archive/2020-12-14/Translating_Insert_from_URL_op/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.2pr3](https://www.mbsplugins.de/archive/2018-04-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[CURL.IsRunning](CURLIsRunning.md) - [CURL.LibSSHVersion](CURLLibSSHVersion.md)

[HTML Version](CURLLibIDNVersion.shtml)