Rudy Yeung

Ranch Hand
+ Follow
since Dec 27, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rudy Yeung

Does anyone have the code snippet without involving the encoding set "ISO-8859-1" during the conversion?
16 years ago
It seems that both those encodings are for Chinese predominantly, so I'm guessing that if you just use Chinese chars, you will not experience any '?'. Also you can probably use most Western ASCII chars; they only take up a few spaces out of all the Chinese chars used, so they probably made space for them.
Yes, our application only deals with Chinese and English characters. The CP937 are the EBCIDIC Chinese, whereas CP037 the EBCIDIC English. Our front end application performs a double encoding from unicode to CP037 and then to CP937, and then sends this CP937 encoded string to the back end AS/400 with CP937 codepage for processing. AS/400 acknowledges by sending back the message. Our front end performs a double decoding from CP937 to CP037 and then back to unicode. We log both the sent and received CP937 encoded messages into our UTF-8 database.
From your reply, it seems that our application should be safe and should not have any '?'.
Rudy
[ August 11, 2003: Message edited by: Rudy Yeung ]
16 years ago
A database with UTF-8 codeset is actually a unicode database, and also a java string is a unicode string. If that is the case, should not I get back the same orange and apple unicode strings though I instantiate the strings using both 'CP937' and 'CP037'? Actually, I experiement it before with the some unicode having Chinese characters and I really get back the exact unicode from the database without any '?'. The only concern I have is that will some Chinese characters still cannot be converted, resulting in '?' instead?
16 years ago
This is an interesting problem. Please see if the following points will help:
1. does this happen only to a particular page?
2. does this happen only to a particular machne? If so, check the browser setting.
3. check the http server log to see if there is any clue
17 years ago
Anyone from this area? How do you feel the job market over there, bad or good?
17 years ago
Grateful if you can let me know if there is anyway I can query the last update date stamp of a table using SQL or other means. Is there another table in a database that keeps track of the table information?
Kalichar,
Vow!! You replied my mail that was posted almost a year ago. Referring to the scenario you mention, I think it will never happen if your locking mechanism is in a synchronized block or method. In this way, only one client can be granted the lock and have the only access to the database or record locked at any time.
Good luck,
Rudy
Matt, Congratulations. You scored 3 points more than I did!
David,
My question is class A extending both class B and C i.e. multiple inheritance, not class A extending class B, which in turn extends class C. In order to have the same functionality as multiple inheritance like C++ does, I think the solution would be to extend class B from class A, and then define an inner class C from within class A.
Rudy
19 years ago
If class A extends class B, how am I going to make class A extend class C as well without using the interface? Will the inner class do the job?
19 years ago
I just got two books from online book store. One is the Enterprise JavaBeans by Oreilly and the other one is the UML distilled. After going through chapter 1 of the EJB book halfway, I find the the contents are quite difficult to absorb. Terminology like TPs and ORBs are totally new to me. The UML book is a bit better because I have real working experience in using Rational Rose, and so I am familiar with all those diagrams discussed in the book. For my case, I think the process of earning the SCEA would take me tremendous amount of time comparing to the time spent on SCJP and SCJD that I have already earned. Does Sun really assume that SCEA candidates need to have real experience with the scope of topics for SCEA.
I am very amazed that you passed SCJD in March, and then you passed SCEA part I in April. Are you working towards both certification concurrently? I will be very impressed if you do it sequentially, and grateful if you can share with us how do you manage the time.
Congratulations! You must be a genius to score 147 within 2 weeks. I spent 2 months (about 90hrs), and can only score 138%. Any plan working towards SCEA? I am about to start now, waiting for a EJB book ordered online.
I have got SCJP and SCJD. I spent my past 6 years working on C-programming application, mainly on supporting and providing onsite implementation support. I need to travel around the world. In last March, I finally get a chance within my company switching to a new team using IBM WSBCCS websphere component. The primary development tools is IBM VAJ. Working in the new team for 2 months, I consider myself as a novice in Java. What do you think the chance of me getting a java job in another company?
19 years ago
IMO, SCJP and SCJD are not the key factors in helping you get a job. The essence still lies on the CS degree and the real job experience. Having SCJP and SCJD are just the extra bonus that you can add on your resume, which means you have a higher chance in getting an interview than without those bonus.
19 years ago