Code Monkey home page Code Monkey logo

libiconv's Introduction

libiconv

libiconv is a character set conversion library from http://ftp.gnu.org/pub/gnu/libiconv/

PHP currently uses 1.14 released 2011.08.07

libiconv development has been moved to https://savannah.gnu.org/projects/libi conv/

Because iconv.exe is GPL licensed, the author has decided to drop support for building on msvc altogether, because building on newer compilers that require separate distributions of MS runtimes might cause gpl violations (you can simply point people to the runtime installers provided by microsoft and not include them with the program…but that's another story). However, libiconv is lgpl and does not have these restrictions, the versions on php.net are compiled with Microsoft compilers with a small patch to fix compiler warnings and errors.

If someone has the time or energy the patch should probably be sent upstream to the bugs list.

Building for PHP

The solution has static and dll projects. Both of them have to be built in debug and release mode. The binaries have to be put into the deps tree with the following structure:

lib:
libiconv_debug.lib
libiconv_a_debug.lib
libiconv_a.lib
libiconv.lib

include:
iconv.h

bin:
libiconv_debug.pdb
libiconv_debug.dll
libiconv.pdb
libiconv.dll

After this the iconv PHP extension can be built static or shared.

libiconv's People

Contributors

weltling avatar cmb69 avatar jan-e avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.