Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7429369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:57:34+00:00 2026-05-29T08:57:34+00:00

I am writing a project, which can read Japanese characters from file and do

  • 0

I am writing a project, which can read Japanese characters from file and do an output of those Chars, and works just fine.

Problem is, when I change it to a maven (Using Maven 3.03) projects… and have every jars in maven dependency, then run my project, I found every single Japanese Char messed up.

For Example, I have got outputs like:

���� 

I guess that’s because the maven encoding properties, so I tried to make this change

  <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
</properties>

In which I changed the default project.reporting.outputencoding property to UTF-8. I made this change because someone said it works for Maven 2.X but maybe not for Maven 3.X… and actually it doesn’t work at all.

So I hope there’s somebody can help me figure out how to set the properties and have the proper output?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:57:36+00:00Added an answer on May 29, 2026 at 8:57 am

    Sounds like Maven is filtering your properties files without the correct character encoding.

    You may need to tell the Maven process resource plug-in to use UTF-8 encoding while processing resources. Instructions for that are here:

    http://maven.apache.org/plugins/maven-resources-plugin/examples/encoding.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Iam working on a project which involves writing a Mork File (Mork is a
I'm new to the world of Makefile writing. I have a C project which
I am writing a MVC3 project. Right now I have a table which has
I am writing a MVC3 project. Right now I have a table which has
I'm writing a C University project and stumbled upon a compiler behavior which I
I'm working on a small design project, part of which involved writing out text
I am writing a .NET CIL decompiler (just for fun). I can't figure out
For a school project, I am writing an iOS iPad application in which the
I'm writing a C#.NET program which uses XmlSerializer to serialize and deserialize the project
I'm writing a program in C++/Qt which contains a graph file parser. I use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.