Problem with text conversion
Problem with text conversion
- Subject: Problem with text conversion
- From: "bipro1.25" <email@hidden>
- Date: Sun, 28 Sep 2003 23:51:36 +0200
Hi all,
I got a problem when reading a web page. I put the page in an NSString,
everything goes well...
But then, when I write the result in a menu, the `, i, h, and others
accentuated chars became strange ( I get those caracters instead : 3]2 3H2).
Can one oof you please help me ( here the concerned part of my code )
NSURL *plouf = [[NSURL alloc]
initWithString:@"
http://www.mac4ever.com/xml/actu.html"];
NSString *datas = [[NSString alloc] initWithContentsOfURL:plouf];
NSLog(@"%@",datas);
[...]
And then : [[mac4EverMenu addItemWithTitle: title action:
@selector(goToNews:) keyEquivalent: @""] setTarget:self];
( title is a substring of datas )
Thank you for your help !
Cyril DARTOIS
email@hidden
ICQ # : 52 34 89 34
AIM/MSN Id : Stcyril07
GSM # : 06 87 88 83 43
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.