I am stuck in finding a way to resolve below issue:
I am using a web server to get xml data. I f we open the link on browse the data looks in Korean language, when I get that data in xcode's console, I get some other unknown representation of this data, and when I run the application on iPad, I get other different representation.
Can any one please suggest how can I overcome with this problem as it took much time in searching but I have'nt found any solution yet.
# Raj thanks for your suggestion, the problem was with encoding only. I used two different encoding types, when I changed it the data was coming as desired.
Related
I’m building an app that uses core data. There I save arrays of strings, UIColor and UIImage. All with transformable types.
However I noticed I get the following error:
’NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
I found and implemented a few demonstrations like this one and I was wondering if these were the best solutions to get rid of the error.
Everything seems to work pretty good but, for me, it did using transformables as well until I saw that error.
So I’m looking for the correct way to save these transformable types in core data.
The linked article covers the topic very well. The log in the console you are getting is not an error, but a warning. We have encountered the same issue and every solution points to using NSSecureUnarchiveFromData which in fact seems to be a correct one for the problem. We have been using it in production for quite a while now and everything works as expected and the warning is gone. And you should be treating it for what it is, a warning. It it does resurface at any time for some specific type that you are trying to store in your CoreData, you could try implementing a custom transformer just like its shown in the article. Good luck!
I am using rapidminer because I want to perform a sentiment analysis.
The things are, I have 7 queries that I need to analyze together (companies' names that I need to analyze to obtain insights about the customer).
So my idea was then to extract the data with twitter app developer and then put in rapidminer to analyze.
When I open this data in rapidminer it shows that
there are some problems with the dataset with the following:
Error: file syntax error
Message: Value quotes not closed at position 346.
Last characters read: ght.
Help enter code here
-How do I fix this?
Once enter my spreadsheet data (.csv file). It shows me the error"
Cause: Unparseable number: "FALSE"
I've searched here already for answers but none helped me to solve this error.
Is it possible to analyze this data altogether or do I
have to do it separately?
I'm not sure if this is feasible, I
suppose it would interfere in the overall analysis?
I'm quite new at rapidminer, so I appreciate you all's help.
Thanks in advance.
I decided to ignore the problem so I just selected the option to replace errors with missing values. And analyze all data together.
I'm still getting into google spreadsheets, recently understood how to format a .txt to be able to use =ImportData properly thanks to Tanaike's assitance, now tackling a -slightly- more challenging task.
Goal:
Automatically extracting specific data from .pdf files hosted inside of a google drive folder and arranging the information into specific cells
Challenges:
Being able to decode the blobs of information, as just the raw data obtained with =ImportData is useless
Truly learning how to use google-apps-script for something useful (that's on my own)
Instructing a single extraction of information rather than constant online status as with =ImportData
[Second Priority] Stop Depending on an add-on (Drive Direct Links) to get the URL of the files
To my understanding, I'll need to do some parsing. I know .pdf is not always straight forward, all the files will come from the same place and have the exact same format, so understanding how to do it once should be enough.
I already know how to get the real/permanent link to the files automatically and how to arrange information segregated into cells using =Index, =Extract and others.
Hope I'm being clear enough. Thanks a lot in advance.
Best regards,
Lucas.-
I program for a Linux based appliance (Cisco CUCM) that uses Informix and am working with documentation that, sadly, isn't very helpful (https://developer.cisco.com/media/UCM10.5DataDictionary/UCM10.5DataDictionary.htm) in this particular situation.
Each device configured in the appliance has dozens of settings that are stored in tables. One setting the appliance calls "Advertise G.722 codec" on the device is no where to be found in the data dictionary and am wondering if there's a way to find it.
I've not really been in this spot before, any help is appreciated.
This may be a late response for the OP, but this may help others. Device-specific settings are store in XML blob across one or two tables, depending on CUCM version. See https://developer.cisco.com/docs/axl/#!faq/database-tables-1 for detail.
I got a bunch of .DOC documents. I'm not even positive they are Word documents, but even if they are, I need to open and parse them with eg. Python to extract information from them.
Problem is, I couldn't figure out how they were encoded: UltraEdit's Conversion function wouldn't correct the text no matter which encoding I tried. OpenOffice 3.2 also failed displaying the contents correctly (guessing Windows-1252).
Here's an example, hoping that someone knows what pagecode it is:
"lÕAssemblŽe gŽnŽrale" instead of "l'Assemblée générale"
Thank you for any tip.
Greenstone digital library http://www.greenstone.org/ provides pretty good text extraction from word documents, including encoding detection.
Running msword in server mode gives you a range of scripting options- I'm sure detecting the encoding will be possible.