Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
applicationresources.properties with utf-8 characters
Jordan Smith
Ranch Hand
Posts: 89
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi!
I would like to have in my applicationresources.properties utf-8 charcters.
When I write:
login.notRecognized = "נא לנסות שנית"
and try to save (in Eclipse), I get the message
Some characters cannot be mapped using ISO-8859-1
What tag can I add to it? in the
JSP
file i added:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
but what could i add here?
It's a properties file..
Thanks!
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This isn't a
Struts
issue.
Property files must be processed with the
native2ascii
tool if they contain special characters. Any
Java
I18N tutorial will provide details.
Jordan Smith
Ranch Hand
Posts: 89
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi!
I tried to look into it..
How do I convert it?
I saw documnetation about the tool, but not explanation of how to use it..
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What else do you need to know?
native2ascii [options] [inputfile [outputfile]]
The only real option is the
-encoding
option, which depends on your actual encoding.
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Save File As UTF-8
How to make SendRedirect to work without setting URIEncoding="UTF-8" in tomcat server.xml
NetBeans 4.1 - encoding in Properties editor
Struts: The Complete Reference - Internationalizaion ???
FTPClient storeFile - uploaded file get wrong encoding
More...