php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17456 iconv cutted off the string
Submitted: 2002-05-27 10:38 UTC Modified: 2002-09-11 11:12 UTC
From: kostya at aitart dot ru Assigned:
Status: No Feedback Package: ICONV related
PHP Version: 4.2.1 OS: Freebsd 4.1.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kostya at aitart dot ru
New email:
PHP Version: OS:

 

 [2002-05-27 10:38 UTC] kostya at aitart dot ru
I have string $foo its value of the 100 Russian chars in the windows-1251 coding.

print iconv( "windows-1251", "utf-8", $foo );

I see only 66 Russian chars instead of 100.( UTF-8 User agent code page )

if I change string value to 200 Russian chars in windows-1251 and print out
 
I see 116 chars instead of 200

I think that iconv do not increase output buffer data.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-08 10:28 UTC] kalowsky@php.net
Can you provide a sample script please?
 [2002-09-11 11:12 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Oct 15 20:03:45 2021 UTC