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 64786 - I18N - index.jsp of new web app not show mbyte ok on creation
Summary: I18N - index.jsp of new web app not show mbyte ok on creation
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-09-21 06:26 UTC by Ken Frank
Modified: 2006-01-04 15:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (711.78 KB, image/gif)
2005-09-21 06:26 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2005-09-21 06:26:11 UTC
create new web app project and index.jsp is created

if you have chosen jsf faces and structs, in the jsp will be

 <h1>JSP Page</h1>
    <br/>
    <a href="./faces/welcomeJSF.jsp">ofZ����ûJava Server Faces Welcome Page���ҵ�</a>
    <br/>
    <a href="./Welcome.do">osZ����ûStruts Welcome Page���ҵ�</a>

where the characters surrounding the words "Java Server Faces and Struts
Welcome page come from localized bundles.

but this mbyte does not show ok in the jsp file, whereas if you add own 
mbyte to like <h1> JSP Page, it shows ok.

see attachment in case above is not clear to see diff between ok mbyte,
at the h1 tag and the other.

am guessing this is an encoding handling issue.
Comment 1 Ken Frank 2005-09-21 06:26:45 UTC
Created attachment 25013 [details]
image
Comment 2 zikmund 2005-09-21 09:54:48 UTC
Petre, you know more about encoding. Do you have idea what's wrong?
Comment 3 Petr Pisl 2005-09-23 09:05:42 UTC
Fixed in the trunk:

Checking in struts/src/org/netbeans/modules/web/struts/StrutsFrameworkProvider.java;
/cvs/web/struts/src/org/netbeans/modules/web/struts/StrutsFrameworkProvider.java,v
 <--  StrutsFrameworkProvider.java
new revision: 1.6; previous revision: 1.5
done
Checking in jsf/src/org/netbeans/modules/web/jsf/JSFFrameworkProvider.java;
/cvs/web/jsf/src/org/netbeans/modules/web/jsf/JSFFrameworkProvider.java,v  <-- 
JSFFrameworkProvider.java
new revision: 1.8; previous revision: 1.7
done
Comment 4 Jaroslav Pospisil 2005-12-20 12:51:05 UTC
VERIFIED