Index: ScryptPWGen.m ================================================================== --- ScryptPWGen.m +++ ScryptPWGen.m @@ -136,11 +136,11 @@ } } prompt = [OFString stringWithFormat: @"Passphrase for site \"%@\": ", generator.site]; - promptCString = [prompt cStringWithEncoding: [OFLocalization encoding]]; + promptCString = [prompt cStringWithEncoding: [OFLocale encoding]]; if (keyFilePath != nil) keyFile = [OFMutableData dataWithContentsOfFile: keyFilePath]; passphrase = getpass(promptCString); @@ -151,11 +151,11 @@ if (passphraseCopy == NULL) @throw [OFOutOfMemoryException exception]; @try { of_string_encoding_t encoding = - [OFLocalization encoding]; + [OFLocale encoding]; prompt = [OFString stringWithFormat: @"Repeat passphrase for site \"%@\": ", generator.site]; passphrase = getpass(