ReminderVDP Posted June 7, 2013 Share Posted June 7, 2013 In our layouts, we call in a .txt file for customer letters. If a letter contains a registered trademark, Producer puts two umlauts in place of the ®. This only happens on Producer. If I compose locally, it appears fine. Any hints? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 7, 2013 Share Posted June 7, 2013 It's an encoding issue. Is this your main data file, or an external data file? Either way, I would use a Unicode file to avoid encoding problems. Quote Link to comment Share on other sites More sharing options...
ReminderVDP Posted June 7, 2013 Author Share Posted June 7, 2013 The data is Unicode-16. The letter file is a Plain Text file. What is a better way to save the text file? Quote Link to comment Share on other sites More sharing options...
Alex Marshall Posted June 7, 2013 Share Posted June 7, 2013 Did you copy and paste the trade mark symbol in the template? You may need to specify the entity for the trade mark symbol using a rule in the template. If you're doing this in your flat (delimited) input file, you may need to check the "Treat field values as tagged text" box on the Flat File step of the Data Source Wizard. You can also return the entity directly from a rule, like so: return "™"; Make sure to check "Treat returned strings as tagged text." You could name the rule "Trademark" and insert it in the Text Editor wherever needed. Another option is to use either the Character Map utility on Windows or the Character Palette on Mac to locate the trademark symbol and insert it directly into the Text Editor. (Unlike in external files, any text entered into the Variable Text Editor dialog in FusionPro will automatically be converted to the proper encoding when moving your job across platforms.) Quote Link to comment Share on other sites More sharing options...
ReminderVDP Posted June 7, 2013 Author Share Posted June 7, 2013 I'm not sure you understand where I'm having the problem. The ® is not in the data file. It is in a Plain Text file (.txt) that gets called into the template from the server. The letter previews correctly in the template, but will not compose in Producer on the server. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 7, 2013 Share Posted June 7, 2013 Can you post the file here? Quote Link to comment Share on other sites More sharing options...
ReminderVDP Posted June 7, 2013 Author Share Posted June 7, 2013 File uploader doesn't work. Tried on 3 browsers and 2 different computers. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 7, 2013 Share Posted June 7, 2013 File uploader doesn't work. Tried on 3 browsers and 2 different computers. How big is the file? You don't need to post the whole thing, just a bit of it with the character in question. Quote Link to comment Share on other sites More sharing options...
ReminderVDP Posted June 7, 2013 Author Share Posted June 7, 2013 106K. It says the server connection resets every time I press Upload. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 7, 2013 Share Posted June 7, 2013 106K. It says the server connection resets every time I press Upload. Hmm, I can upload a text file without any problem. What is the name of your file? It might work if you change the extension to ".txt". Quote Link to comment Share on other sites More sharing options...
ReminderVDP Posted June 7, 2013 Author Share Posted June 7, 2013 I tried uploading as a Zip file and also uploading as three separate files and nothing works. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 7, 2013 Share Posted June 7, 2013 I tried uploading as a Zip file and also uploading as three separate files and nothing works. Sorry about that. Please send the files to FusionProSupport@PTI.com, along with a screenshot of the error message you get when trying to upload them here. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 7, 2013 Share Posted June 7, 2013 Sorry about that. Please send the files to FusionProSupport@PTI.com, along with a screenshot of the error message you get when trying to upload them here. Okay, I got the files from Support and was able to upload them just fine. Also, other users have been able to upload files today, as in this post. So I'm not sure why it's not working for you, but I've forwarded your screenshot to our web admin folks. The problem might be that you're accessing this site as forums.printable.com instead of forums.pti.com. If you switch to the shorter URL, does that work? Anyway, I've attached the file you sent. It's not a Unicode file. Your main input data file may be Unicode, but the file containing the special character in question is not. So the way to fix this is to save the 0ACA1243946.txt file as Unicode. I've done that and attached that file here as well.0ACA1243946.txt0ACA1243946-Unicode.txt Quote Link to comment Share on other sites More sharing options...
ReminderVDP Posted June 13, 2013 Author Share Posted June 13, 2013 Dan, The file saved as Unicode didn't work either. The whole letter disappears now and there is just a W where the letter should be. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 13, 2013 Share Posted June 13, 2013 Dan, The file saved as Unicode didn't work either. The whole letter disappears now and there is just a W where the letter should be. I don't see how there could be a "W" there. Did you use the "0ACA1243946-Unicode.txt" file I attached in my previous post? It composes fine for me, although I don't have all your fonts. Quote Link to comment Share on other sites More sharing options...
ReminderVDP Posted June 13, 2013 Author Share Posted June 13, 2013 That is all that shows up. The first letter in the letter. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 13, 2013 Share Posted June 13, 2013 That is all that shows up. The first letter in the letter. Oh, I see. When you said "the whole letter disappears," I thought you meant just the "letter" ®, not the entire contents of the file. It's not just that the registered character is replaced by a "W", it's that you only get that single first character and nothing else at all. I have to apologize here, because I have led you a bit astray. In the currently released version of FusionPro, only 8-bit text resource files are supported. We're currently working on a new version which will support Unicode resource files, which is why it works for me here. But that doesn't help you out at the moment. So there's currently no way to use a plain text resource file with Mac Roman encoding in a composition running on Windows. There are a few things you can do, though: Rework the job to put the text into the main data file, which can be Unicode.Copy the text into a Formatted Text Resource.Save all of your text resource files in Latin-1 (Windows) encoding. Sorry I can't give you a better answer than that. The lack of support for Unicode text resource files has been a known issue for some time, but we are now actively working on fixing it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.