Monday, April 26, 2010

Having trouble with MTC ? Immediate complaint over mobile now !!!

This is a true Incident!! I am copying below the incident as narrated by the victim:

"I m AnandRaj working in Chennai One(Thoraipakkam), Chennai. I usually travel by Metropolitan Transport Corporation(MTC) bus, from jain college stop (Which is near to my office) to tidel park and from Tidel park I will catch train, to home. MTC bus coming from kelambakkam(19B,21H) mostly wont stop in tidel park in early days. So I usually prefer to get into T51 bus, which will stop in tidel park stop. After some time 19B started stopping in tidel park also.

Today while returning from office at around 8.30 pm, I was in a hurry to catch my 9.28 pm train at Tidel park. I got up a bus(19B) in Jain College at around 8.45 pm, and asked the conductor to give a ticket for tidel park stop. He said, the bus wont stop there, and he asked me to get down at signal if it stops there or else get down at stop next to tidel park. I was arguging with him that I am going daily with the same bus and get down in the tidel park stop. But he was keep on saying the same thing.. I got irritated with conductor response. Suddenly I remembered a complaint phone no.(9884301013) I read in one bus sometime back and noted down in my mobile. I called that no. and said about the incident that conductor is not stopping in the usual stop.

The MTC representative (person at the other end) asked me to give the phone to the conductor. The conductor was not interested to talking with his official. The MTC rep. asked me the bus registration no. He enquired where is the bus at that time and I said it is in Kandhanchavadi. The MTC rep. said he will come in the line and talk to them. I was curious how he will come and catch the bus.

After few mins. the wireless transmeter(to track the bus), near the driver in the bus started shouting... Driver stop the bus. Driver stop the bus in the left side of the road. Driver was not sure what is happening may be his first experience, for others(including me) it is the real first experience. The driver stopped the bus and started listening to the transmeter. The MTC rep. enquired why the bus is not stopping in tidel park stop. The driver said he stops in tidel park stop and in the previous trip also he has done. The rep. asked him then why the conductor is saying like that. He asked the conductor what is the issue. The conductor was speechless. The driver somehow managed the situation and supported the conductor by saying that the conductor was new to this route. The driver asked excuse for the incident and said he will stop in the Tidel Park stop

The MTC rep. said he wanted to talk the passenger who called him. I went near the transmeter and spoke to the MTC rep. He said sorry for the incident happened and asked sorry on behalf of MTC. Everyone in the bus were surprised of things happening. I came back to my seat and I was so embarrassed as all were looking at me. Few passengers asked me what is the no. and whom I called. They also took the no. The bus stopped in Tidel Park stop then. After getting down I called the MTC rep. and said the bus stopped in the stopping.

It was a nice experience for me and others who travelled in the bus, including driver and conductor and I was very shocked after this incident. Yes, nowadays good things are happening in government sector also and technology is used properly.

Complaint Phone no. for MTC bus: 9884301013, 9445030516, 9383337639"

Sunday, November 15, 2009

SAR values for Nokia mobiles in India as on 15th Nov

Choose the Nokia mobile phone model below for checking SAR rate (radio wave emissions). The SAR value must be below an agreed level (2 W/kg).




Friday, October 23, 2009

i18n support for German Characters in Java

Problem: Issues on Double Byte support - Java platform.

Symptoms: The umlauts characters like ä,ö,ü in German / Spanish / Portuguese languages are garbled in the output stream. Java application receives data over a socket using an InputStreamReader. It reports "Cp1252" from its getEncoding() method:

/* java.net. */ Socket Sock = ...;
InputStreamReader is = new InputStreamReader(Sock.getInputStream());
System.out.println("Character encoding = " + is.getEncoding());
// Prints "Character encoding = Cp1252"

That doesn't necessarily match what the system reports as its code page. For example:

C:\>chcp
Active code page: 850

The application may receive byte 0x81, which in code page 850 represents the character |ü|. The program interprets that byte with code page 1252, which doesn't define any character at that value, so I get a question mark instead.

Solution:

You can work around this problem by using code page 850 i.e., by adding another command-line option:

java.exe -Dfile.encoding=Cp850 ...

ENC=...
java.exe -Dfile.encoding=%ENC% ...


To write at the command line,

> chcp 850
Active code page: 850

> type 1251.txt
abcde xyz
ÓßÔÒõ ²■


Some pointers relevant to this:

> http://illegalargumentexception.blogspot.com/2009/04/i18n-unicode-at-windows-command-prompt.html
> http://stackoverflow.com/questions/1336930/how-do-you-specify-a-java-file-encoding-value-consistent-with-the-underlying-wind