Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001763 [Quercus] minor always 05-28-07 18:08 06-03-07 10:12
Reporter nagashima View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.1.2
Summary 0001763: When I used ob_get_contents, a Mojibake occurs
Description quercus_text.php
----------------------------------------
<?php

$data = "&12371;&12428;&12399;&26085;&26412;&35486;&12391;&12377;";

ob_start();
include "include_test.php";

$outputString = ob_get_contents();
ob_end_clean();

?>
<html>
<body>
output 1 <?php echo $data?> is good

output 2 <?php echo $outputString;?> is mojibake
</body>
</html>

--------------------------------------

include_test.php
-------------------------------------
<?php echo $data?>
-------------------------------------

Additional Information
Attached Files  mojibake.zip [^] (486 bytes) 05-28-07 18:12

- Relationships

- Notes
(0001993)
sam
06-03-07 10:12

php/1l0s

The example zip was very helpful, allowing the reproduction of the issue exactly and avoiding mojibake issues that may have occurred using the bug tracker to communicate the problem.
 

- Issue History
Date Modified Username Field Change
05-28-07 18:08 nagashima New Issue
05-28-07 18:11 nagashima Issue Monitored: nagashima
05-28-07 18:12 nagashima File Added: mojibake.zip
05-28-07 18:15 nagashima Issue End Monitor: nagashima
06-03-07 10:12 sam Status new => closed
06-03-07 10:12 sam Note Added: 0001993
06-03-07 10:12 sam Resolution open => fixed
06-03-07 10:12 sam Fixed in Version  => 3.1.2


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
40 total queries executed.
34 unique queries executed.
Powered by Mantis Bugtracker