Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning Java 2
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 25th, 2004, 02:35 PM
Registered User
Join Date: Aug 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default chapter10


In the book "Beginning Java 2 SDK1.4 Edition", in chapter 10, when I ran the code which is WriteProverbs on page 412, the result in the text file didn't show properly. All letters showed fine. But all integer numbers which are the length of each proverb didn't show correctly. All looked like weird characters. I think it was because of the conversion between Unicode and ASCII. Is there anyone having the same problem when you ran the code? Can anyone tell me how to change the example code to make it work?


  #2 (permalink)  
Old August 28th, 2004, 05:21 AM
Authorized User
Join Date: Sep 2003
Location: den Haag, , Netherlands.
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts

quote:Originally posted by yc5x
I think it was because of the conversion between Unicode and ASCII.
I think (!) it is because the numbers were not converted to String before adding them to the file, and they were read out like they were unicode chars.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter10: reference not set... JohnBoy BOOK: Beginning VB.NET Databases 2 May 1st, 2006 05:34 AM
Chapter10: Select multiple nemenies sagh BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 September 22nd, 2005 04:34 PM
Another question on Chapter10 czambran BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 10 March 31st, 2005 03:11 PM
error on Chapter10 yc5x BOOK: Beginning Java 2 2 September 7th, 2004 11:57 AM

All times are GMT -4. The time now is 05:07 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.