This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 230108 - I18N: Result UTF-8 characters are garbled on Editor/Browser
Summary: I18N: Result UTF-8 characters are garbled on Editor/Browser
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2013-05-22 12:36 UTC by Masaki Katakai
Modified: 2013-05-26 02:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (168.44 KB, image/jpeg)
2013-05-22 12:37 UTC, Masaki Katakai
Details
sample PHP project (20.67 KB, application/zip)
2013-05-22 12:38 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2013-05-22 12:36:58 UTC
Please try to run the PHP project in attachment.

Setting:
- Project encoding is UTF-8
- Run As: Script (run in command line)
  Index File: index.php

- Open Result In: check All options
	Output Window
	Web Browser
	Editor

Please refer the snapshot. Japanese characters in UTF-8 encoding are garbled on

	Web Browser
	Editr

correctly displayed on

	Output Window

It seems that it's garbled when writing UTF-8 characters
to tmp file e.g. file:///tmp/index.php1087318739336299026.html

Env:
Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02
Runtime: Java(TM) SE Runtime Environment 1.7.0_09-b05
System: Linux version 3.0.0-32-generic running on amd64; UTF-8; en (nb)
Comment 1 Masaki Katakai 2013-05-22 12:37:34 UTC
Created attachment 134740 [details]
screenshot
Comment 2 Masaki Katakai 2013-05-22 12:38:28 UTC
Created attachment 134741 [details]
sample PHP project
Comment 3 Masaki Katakai 2013-05-22 12:39:21 UTC
This bug has been reported from a Japanese user.
Comment 4 Tomas Mysik 2013-05-22 13:24:44 UTC
Thanks for catching that, I will fix it.
Comment 5 Tomas Mysik 2013-05-24 07:33:09 UTC
Should be fixed now.

http://hg.netbeans.org/web-main/rev/006636b6c2a4
Comment 6 Quality Engineering 2013-05-26 02:23:33 UTC
Integrated into 'main-golden', will be available in build *201305252300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/006636b6c2a4
User: Tomas Mysik <tmysik@netbeans.org>
Log: #230108 - I18N: Result UTF-8 characters are garbled on Editor/Browser