Numbers without international prefix are formatted with rules
of country selected in Region Format .
You can select another country or modify rules in:
UIPhoneFormats.plist for firmware 2.0.x
UIDefaultFormats.phoneformat for firmware 2.1
(PhoneNumberTemplates.plist and UIMobileCountryCodes.plist are for Caller ID)
Can anybody help with Ukrainian codes
mobile
+38 (067) 259-09-03
citi
235-55-67
pliz
Hi Frank~
could you fix sms for South korea??
Country: South Korea (kr) +82 (included in FW2.1..)
problem: Call match(No Problem) , No SMS match (+82 comes first when I got SMS)
sim unlock adapter: NONE (Unlocked by Apple, Pwangae Tool, FW2.1)
numbers are saved as:
0##-###-####
0##-####-####
02-###-####
02-####-####
####-####
####
###
numbers are received as: (for SMS, Left is right, Right is wrong!!!))
0##-###-#### ->>> +82-##-###-####
0##-####-#### ->>> +82-##-####-####
02-###-#### ->>> +82-2-###-####
02-####-#### ->>> +82-2-####-####
####-#### ->>> +# (###) ###-#
#### ->>> +# (###)
### ->>> +## (# )
Last edited by onehoon; 10-17-2008 at 02:18 PM.
onehoon,
CallerID Fix Collection is transparent for South Korea .
No chance if you receive numbers with + but without 82
SMS received with +82 should work ,
verify in this file :
/private/var/mobile/Library/Preferences/com.apple.AppSupport.plist
CPActiveCountryCode kr
CPNetworkCountryCode kr
if different (sometimes happens) set to kr
set South Korea (in Region Format) for correct format
Hi Frank..
This is my com.apple.AppSupport.plist from my iPhone
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CPActiveCountryCode</key>
<string>kr</string>
<key>CPNetworkCountryCode</key>
<string>kr</string>
</dict>
</plist>
iPhone 3G supports kr but iPhone3G is not sold in Korea yet..
So iPhone3G has problem in caller ID..
PhoenumberTemplates that Apple made doesn't support korea properly.
Neither UIDefaultFormats.phoneformat
before FW2.1, I fixed by myself.
but On FW2.1, I can't figure out how to fix this..
Can you chek related file??
Last edited by onehoon; 10-17-2008 at 06:00 PM.
onehoon,
standard South Korea template - 8 digits :
(82,001,0,1,7) (82,001,0,2,6)
(82,002,0,1,7) (82,002,0,2,6)
(82,005,0,1,7) (82,005,0,2,6)
(82,006,0,1,7) (82,006,0,2,6)
(82,008,0,1,7) (82,008,0,2,6)
modifyed South Korea template - 8 , 9 , 10 , 11 digits :
(82,001,0,0,8) (82,001,0,0,9) (82,001,0,0,10) (82,001,0,0,11)
(82,002,0,0,8) (82,002,0,0,9) (82,002,0,0,10) (82,002,0,0,11)
you can download test file here:
http://rapidshare.com/files/15500819...tes.plist.html
standard phoneformat 2.1 rules for South Korea:
( 82 , kr , EC 1F = 0x2A64)
[
( 48 , 224 , 4 , ( 0 , 001 , 002 , 003## , 005 , 006 , 007## , 008 ))
( 4 , 1 ,
( 1300 , 1400 , 4 , 0 , 0 , str_7 )
( 3 , 3 ,
( 100 , 149 , 3 , 0 , 0 , str_9 )
( 150 , 200 , 8 , 0 , 0 , str_6 )
( 500 , 505 , 10 , 3 , 1 , str_2 )
( 2 , 7 ,
( 10 , 12 , 9 , 2 , 1 , str_5 )
( 10 , 12 , 10 , 2 , 1 , str_4 )
( 13 , 13 , 10 , 3 , 1 , str_2 )
( 13 , 13 , 11 , 3 , 1 , str_8 )
( 16 , 19 , 9 , 2 , 1 , str_5 )
( 16 , 19 , 10 , 2 , 1 , str_4 )
( 30 , 99 , 9 , 2 , 1 , str_5 )
( 1 , 2 ,
( 2 , 2 , 8 , 1 , 1 , str_3 )
( 2 , 2 , 9 , 1 , 1 , str_1 )
(
str_1 n#-####-####
str_2 n###-###-####
str_3 n#-###-####
str_4 n##-####-####
str_5 n##-###-####
str_6 ####-####
str_7 ####
str_8 n###-####-####
str_9 ###
)]
equivalent old .plist style (starting 0 = +82 )
02-###-####
02-####-####
013#-###-####
013#-####-####
0500-###-#### to 0505-###-####
010-###-#### to 012-###-####
010-####-#### to 012-####-####
016-###-#### to 019-###-####
016-####-#### to 019-####-####
030-###-#### to 099-###-####
100 to 149
150#-#### to 200#-####
1300 to 1400
apparently is OK.
Thanks Frank~~
I'll try it~
Bookmarks