PDA

View Full Version : better counter bug !



ema2000
12-12-2004, 08:21 PM
helloz
i've this bug when writing sms msg , counter seems ok till i add the blinking char , it was 160 char left then after 69 left :(

danwood76
13-12-2004, 12:43 AM
This is no bug of the counter

The flashing symbol is a Unicode character and due to the format of unicode messages this will reduce the size of the message
I think unicode messages have a max of 70 characters

regards,
Danny

ema2000
13-12-2004, 12:46 AM
hmm , but b4 i patch my mod with the script the symbol flashing char only takes one char from the left chars in the message

danwood76
13-12-2004, 01:05 AM
Maybee im wrong

But I always remember the bug with 3310 where it used to switch to Unicode automatically all the time and you ended up sending 3 messages instead of one

regards,
Danny

mestrini
13-12-2004, 10:45 AM
Maybee im wrong

But I always remember the bug with 3310 where it used to switch to Unicode automatically all the time and you ended up sending 3 messages instead of one

regards,
Danny

I subscribe to your opinion Dan.
I had friends complaining of sending three messages also :-o

NokDoc
13-12-2004, 06:27 PM
Hi,

Maths:

1 sms has 140 bytes user data available.

In 7bits gsm alphabet it would be 8/7 * 140 = 160 characters.

In 16bits Unicode alphabet it will be 8/16 * 140 = 70 characters.

70 minus 1 (16bit) char for the blink U typed = 69...

NokDoc

ema2000
13-12-2004, 10:20 PM
@NokDoc thank u 4 this clearence , now it is like sun shine , aint no bug , sorry Mr Yak :)

ema2000
15-12-2004, 12:55 AM
oops , it seems there's another problem with chat menu , check the message counter it's 65377/1 :eek: !! , after adding one more char after 65294 , it became 56/1 left char

NokDoc
15-12-2004, 05:15 PM
Hi,

Hehe, there iis way more wrong with that counter. ;)

The Nokia uses the visible editor counter, not the true, converted, data as it is inside the sms which U are typing at same time in background.

On special characters inside standard gsm 7bit alphabet uses 2 characters while it is just displaying one in the editor.

And only the editor counter is shown, causing U headaches.

Ur chat problem is different, it seems to go count negative from 65.536, looks like a 32 bit addressing limit.

Maybe both problems can be solved easily with some modding, though I lack the interest to do it myself.

Unless one day during my flash studies I happen to run into these functions responsible for this bug.

Untill then maybe it's better just to accept also Nokia comes with bugs.

NokDoc

yak
16-12-2004, 01:19 PM
Originaly there is no change in counter when you enter unicode character (in auto mode) beacause you still can enter 479 chars, the diffrence is that when you fill everything you will send 8 (!!!) messages. if you don't enter unicode char you will send 3 messages. better_counter displays the number of chars left in current message so when it becomes a unicode message it has to switch to 69 (70-1). I didn't know about this chat bug - I also see 65377/1. I will try to work it around but I can't promise anything.

ema2000
16-12-2004, 09:23 PM
thx Nokdoc , Mr Yak , much more appreciated info, u r doing great guyz keep it up
well ,who uses the chat sending sms anyway ;) i've just noticed this loooooong number :eek: