• Post Reply Bookmark Topic Watch Topic
  • New Topic

file.encoding troubles (RedHat 8.0)  RSS feed

 
Lewin Chan
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hej,
Just installed redhat 8.0 over the weekend (from previous install of 7.3), first thing I did was install the sun jdk1.3.1_04 rpm, and immediately couldn't compile any of my previous projects due to


This problem occurred because some of my files were ISO-8859-15 encoded under 7.3. RedHat 8.0 uses UTF-8 by default (my fault for not reading the release notes).
I don't have this problem using jdk1.4.0_01.rpm
So, just thought I'd let you know, if you get the same error, just use the -encoding flag on javac
L
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!