Questions tagged [iconv]

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

iconv can refer to one of three things:

  1. The iconv() API call standardised as part of the POSIX specification.
  2. The iconv command-line utility, also part of the POSIX specification.
  3. The libiconv library, a GNU project that implements the iconv() API and command-line utility.

In all cases, the API/utility/library is used to convert text between different formats.

631 questions
-1
votes
1 answer

libiconv for AIX 5.3

I need to use iconv in 1 of my app running on AIX 5.3. I googled for some RPM sites for AIX and could not see libiconv for AIX 5.3. Can anybody point to correct RPM repository? I assume it is not a good practice to use libiconv for AIX 5.1 on AIX…
confused
  • 147
  • 3
  • 15
-1
votes
1 answer

How can install ICONV in windows server 2012

I need to install iconv in windwos server 2012 can you help me please for use in line commande i have try to downloand iconv.dll, but i dont know how palce in windows for use in cmd ?
sahro
  • 3
  • 3
-1
votes
4 answers

UTF-8 to Unicode conversion

I am having problems with converting UTF-8 to Unicode. Below is the code: int charset_convert( char * string, char * to_string,char* charset_from, char* charset_to) { char *from_buf, *to_buf, *pointer; size_t inbytesleft, outbytesleft, ret; …
sandeep
  • 11
  • 1
  • 1
-1
votes
1 answer

iconv convertiing from unknown source to latin1

How can I convert the string from unknown character set which is foreign language to latin1 character set. I am working in ruby 1.8.7.
-1
votes
1 answer

iconv() illegal character issue on Live server in Laravel 4 / dom2pdf

I have a Laravel 4.2 application which renders text to a PDF using dom2pdf (0.4) which works fine on the dev server but not live. It throws a 'iconv(): Detected an illegal character in input string' error on live which I believe is due to a long…
rev_dev_01
  • 500
  • 3
  • 20
-1
votes
1 answer

I can't install iconv

When I run gem install iconv, it fails as follows: Building native extensions. This could take a while... ERROR: Error installing iconv: ERROR: Failed to build gem native extension. current directory:…
user4362206
-1
votes
3 answers

iconv error on PDF creation Dot_Pdf, DotKernel with Zend with no special characters at all

I am using DotKernel 1.8.0 on a project and when generating a long PDF file, with some data in it (using addText() pretty often). I get into an iconv() encoding error "Detected an illegal character in input string" which is a pretty straight forward…
gs.evias
  • 1
  • 1
-1
votes
1 answer

.ENCODING international chars (hebrew,thai,russian,chinese,....)

international html files archived by wget should contain chars like this (example hebrew and thai:) אב הם and ยคน instead they are saved like this: íäáåãéú and ÃÒ¡à§é How to get the these displayed properly? iconv filename.html iconv: illegal…
user1022584
-1
votes
2 answers

Broken iconv PHP extension detected, installation can not continue

I have downloaded Moodle and extracted zip file. then i have placed this moodle in MAMP/htdocs. Now i am browsing from localhost:8888/moodle, i am geting these following error. "Broken iconv PHP extension detected, installation can not continue.".…
thirupathi
  • 47
  • 10
-2
votes
1 answer

Using iconv on list?

I have a list of about 1000 character vectors in R that I need to convert to UTF-8. The only tool that I could find for reliable conversions is iconv(), but it only works on character vectors. How can I convert my entire list without smashing it…
DataWiz
  • 401
  • 6
  • 14
-2
votes
1 answer

strtolower() providing faulty character?

I use strtolower() to convert strings to lower-case. When later in the code these strings are converted from UTF-8 to ANSI (Windows-1252) using iconv(), the function fails unless the //IGNORE statement is used. I identified the offending character…
SquareCat
  • 5,699
  • 9
  • 41
  • 75
-2
votes
1 answer

How to add iconv directory to ruby 2.0?

I am using Ububtu 12 . In my rails application while running rake db:migrate . I am getting this error can't load such file iconv. I checked which Iconv and output is usr/bin/iconv. I am using rvm . Any guesses?
Deepender Singla
  • 999
  • 9
  • 28
-3
votes
2 answers

Required to convert a String to UTF8 string

Problem Statement: I am required to convert a generated string to UTF8 string, this generated string has extended ascii characters and I am on Linux system (2.6.32-358.el6.x86_64). A POC is still in progress so I can only provide small code…
Sanyam Goel
  • 2,138
  • 22
  • 40
-4
votes
1 answer

Translate Japanese to Korean

$str1 = '日本の山が好きです。나는 한국사람 입니다.'; $str = iconv("UTF-8", "SJIS//TRANSLIT", $str1); echo $str; iconv(): Detected an illegal character in input string
-4
votes
2 answers

Tab / LF / CR unicode character

I have a Unicode file (UTF-16 FFFE little-endian BOM) which contains rows of tab-separated fields. Read Splitting unicode (I think) using .split in ruby, I am going to use the Ruby split (file to lines, then line to fields). BTW, what's the Unicode…
ohho
  • 50,879
  • 75
  • 256
  • 383
1 2 3
42
43