Jump to content
We've recently updated our Privacy Statement, available here ×

ISO-8859-1 not working in UNIX machine


jyobeer

Recommended Posts

Hi ,

I am using character encoding as ISO-8859-1 while exporting data to csv.

Its working fine in my local system (Windows) but fails in my Dev box which runs in unix.

The symbol comes up as ? in unix box in csv file.

Please help so that i can close the issue.

 

Thanks

Jitu

Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 Just a guess, but it could be a font issue.  The Microsoft fonts are likely being used on your windows system and if they are not available to your JVM on your Unix system, then the fall back fonts may not have matching symbols.  You could try creating a font extension and adding it to your classpath.

Link to comment
Share on other sites

Hi,

Thanks for the quick reply.

I am getting the symbols perfectly in pdf and excel sheets while exporting.

But the issue i am getting is only in csv files.

Do you still think this might be a font issue.

If so please tell me how to create a font extension.

 

Thanks

Jitu

Link to comment
Share on other sites

Try packaging up the Arial font as an extension by doiing the following:

1. Open up iReport on your windows machine

2. Go to tools->Options

3. Under iReport, you will see a tab called Fonts, click on it

4. Click install font

5. Browse for the ttf file for arial, click next

6. Set the Font name (to Arial) and browse for the bold(bd), italic(i), and bold italic(bi) ttf files for arial

7. Click finish

8. Select the font and click export as extension to create a jar file

Add this jar to your JVM classpath and make sure your report is using Arial as your font.

 

See if that works.

 

Link to comment
Share on other sites

Hi,

I tried exporting the font and placed it on my local tomcat which is running on WINDOWS machine.

But no change.Am still getting the same  ¤ symbol for EURO (€).

Please let me know if i can fix this in some other way.

 

Thanks

Jitu

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...