Revision: 5198
http://skim-app.svn.sourceforge.net/skim-app/?rev=5198&view=rev
Author: hofman
Date: 2009-02-07 22:16:53 +0000 (Sat, 07 Feb 2009)
Log Message:
-----------
don't use deprecated method
Modified Paths:
--------------
trunk/SkimImporter/GetMetadataForFile.m
Modified: trunk/SkimImporter/GetMetadataForFile.m
===================================================================
--- trunk/SkimImporter/GetMetadataForFile.m 2009-02-07 22:16:03 UTC (rev
5197)
+++ trunk/SkimImporter/GetMetadataForFile.m 2009-02-07 22:16:53 UTC (rev
5198)
@@ -97,7 +97,7 @@
} else if (isPDFBundle) {
notes = [fm readSkimNotesFromPDFBundleAtURL:fileURL error:NULL];
NSString *textPath = [(NSString *)pathToFile
stringByAppendingPathComponent:@"data.txt"];
- pdfText = [NSString stringWithContentsOfFile:textPath];
+ pdfText = [NSString stringWithContentsOfFile:textPath
encoding:NSUTF8StringEncoding error:NULL];
NSString *plistPath = [(NSString *)pathToFile
stringByAppendingPathComponent:@"data.plist"];
NSData *plistData = [NSData dataWithContentsOfFile:plistPath];
info = plistData ? [NSPropertyListSerialization
propertyListFromData:plistData mutabilityOption:NSPropertyListImmutable
format:NULL errorDescription:NULL] : nil;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit