| Reply | « Previous Thread | Next Thread » |
|
my code is
Code:
import inbox
i=inbox.Inbox()
id=i.sms_messages()[0]
x=i.content(id)
adres=i.address(id)
f = open("c://sms.txt","w")
f.write(adres+u': ')
f.write(x)
f.close()
UnicodeError: ASCII encoding error: ordinal not in range (128) |
| cool_eagle |
| View Public Profile |
| Find all posts by cool_eagle |
|
i solve problem thanks
![]() |
| cool_eagle |
| View Public Profile |
| Find all posts by cool_eagle |
|
|
|
Join Date: Feb 2008
Posts: 2,546
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
def ru(x):
return x.decode('utf-8') |
| cool_eagle |
| View Public Profile |
| Find all posts by cool_eagle |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Problem with eglSwapBuffers and heap corruption | greatape | Symbian Media (Graphics & Sounds) | 2 | 2007-05-24 04:35 |
| netcards - Problem with opening adapter | kernj | Symbian Tools & SDKs | 5 | 2007-01-10 09:56 |
| WAP service problem on Apache | bigg_o | Browsing and Mark-ups | 3 | 2005-04-17 17:05 |
| Problem: S60 SDK for CW in PC with .NET | anttij | Carbide.c++ IDE and plug-ins | 1 | 2005-02-28 12:36 |
| wireless problem | sash_mca | General Browsing | 0 | 2003-06-06 12:34 |