Top "Iconv" questions

iconv is a library and API for converting between different character encodings.

PHP, convert UTF-8 to ASCII 8-bit

I'm trying to convert a string from UTF-8 to ASCII 8-bit by using the iconv function. The string is meant …

php encoding utf-8 ascii iconv
How to detect malformed utf-8 string in PHP?

iconv function sometimes gives me an error: Notice: iconv() [function.iconv]: Detected an incomplete multibyte character in input string in [...] …

php encoding utf-8 iconv
Convert UTF-16LE to UTF-8 in php

I use iconv php function but some characters doesn't convert correctly: ... $s = iconv('UTF-16', 'UTF-8', $s); ... $s = iconv(…

php encoding iconv
in `require': no such file to load -- iconv (LoadError)

➜ expertiza git:(master) ✗ ruby -v ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin11.1.0] ➜ expertiza git:(master) ✗ rails -v Rails 2.3.14 ➜ expertiza git:(master) ✗ …

ruby-on-rails ruby terminal rvm iconv
Why iconv cannot convert from utf-8 to iso-8859-1

My system is SUSE Linux Enterprise Server 11. I'm trying to convert a data from utf-8 format to iso useing "iconv" $&…

linux utf-8 iso iconv suse
How to convert any possible format to UTF-8 using Iconv?

so for example this will turn 1251 into utf-8. $utf8 = iconv('windows-1251', 'utf-8', $ansi); But how to turn unknown (…

php utf-8 iconv
iconv: Convert from CP1252 to UTF-8

I'm trying to convert the CP1252 encoded string Çàïèñêè ýêñïåäèòîðà to UTF-8. I have tried this command: iconv -c -f=WINDOWS-1252 -t=…

iconv
Call to undefined function Symfony\Polyfill\Mbstring\iconv_strlen()

My project works fine on localhost but not working online and this is the error: Fatal error: Call to undefined …

php symfony vps iconv
libiconv not linking to iOS project

I'm trying to compile MailCore into an iOS app I'm making, and the linker keeps complaining that libiconv isn't linked …

ios xcode linker iconv
iconv UTF-8//IGNORE still produces "illegal character" error

$string = iconv("UTF-8", "UTF-8//IGNORE", $string); I thought this code would remove invalid UTF-8 characters, but it produces [E_NOTICE] "…

php utf-8 iconv