Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 03-28-2011, 06:52 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 1
smtj is on a distinguished road
Default Xcode encoding problem

in my macbook pro, when i first installed xcode 3.2.5 and built my application which parses some arabic text from a website, everything was fine, the arabic letters appeared fine in the simulator and in the debug window, then i installed xcode 4 and built my application and everything was just fine for several days, xcode crashed one time and now when i build and run my app the arabic text is not encoded properly, texts looks gibberish like this "استجواب الدويسان لوزير الإعلام غدا" then i thought it might be that xcode 4 is just crazy so i went back to xcode 3.2.5 and the texts are just crazy as xcode 4..

i haven't touched or changed any of the source code, so i thought this might be the problem with xcode caching the data the wrong way, so i searched for the cache files for xcode and deleted them, also deleted the build folder, cleaned, did "empty cache" from xcode and reinstalled xcode and the problem won't go away. I assure you the code is fine and uses the UTF8 encoding to parse the data. I am using TFHpple and XpathQuery to parse the texts.. and i havent even changed anything on the server side that might me affecting the parsing process..

BTW i am new to mac and i absolutely have no idea how its handling its http connect process.. i thought i might have pressed some crazy shortcut keys which triggered this mess.

i used to have it with my previous macbook air with xcode installed in it.. i thought its just that xcode is not supporting arabic, with my new mac at the beginning it turned out it does. but maybe for few days hehe
smtj is offline   Reply With Quote
Old 12-25-2011, 01:15 PM   #2 (permalink)
iOS Dev
 
Join Date: Aug 2009
Location: Chandigarh
Posts: 39
Jango is on a distinguished road
Send a message via Skype™ to Jango
Default Any solution to this...

Hi,

Did you find any solution to reading arabic properly?
I'm facing the same issue right now in my app.

Please suggest?



Quote:
Originally Posted by smtj View Post
in my macbook pro, when i first installed xcode 3.2.5 and built my application which parses some arabic text from a website, everything was fine, the arabic letters appeared fine in the simulator and in the debug window, then i installed xcode 4 and built my application and everything was just fine for several days, xcode crashed one time and now when i build and run my app the arabic text is not encoded properly, texts looks gibberish like this "استجواب الدويسان لوزير الإعلام غدا" then i thought it might be that xcode 4 is just crazy so i went back to xcode 3.2.5 and the texts are just crazy as xcode 4..

i haven't touched or changed any of the source code, so i thought this might be the problem with xcode caching the data the wrong way, so i searched for the cache files for xcode and deleted them, also deleted the build folder, cleaned, did "empty cache" from xcode and reinstalled xcode and the problem won't go away. I assure you the code is fine and uses the UTF8 encoding to parse the data. I am using TFHpple and XpathQuery to parse the texts.. and i havent even changed anything on the server side that might me affecting the parsing process..

BTW i am new to mac and i absolutely have no idea how its handling its http connect process.. i thought i might have pressed some crazy shortcut keys which triggered this mess.

i used to have it with my previous macbook air with xcode installed in it.. i thought its just that xcode is not supporting arabic, with my new mac at the beginning it turned out it does. but maybe for few days hehe
Jango is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 411
11 members and 400 guests
AppleDev, chemistry, Emy, Gi-lo, ipodphone, mistergreen2011, pipposanta, QuantumDoja, Retouchable, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,924
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:26 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0