|
Godlike |
|
Joined: November 12th, 2005, 1:56 am Posts: 1474 Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
|
I've already solved a problem I had encountered, thought I'd post the 'fix' here for others.
I had a Text Input box. At runtime that input was captured and Encrypted. Upon Decryption, the 'whitespace' was gone. I lost Line Feeds and Carriage Returns. (same could happen for 'Tabs').
Note: the operation does not have to be encryption. The same problem could arise if capturing the input and writing it to a Database and later reading it back in. May apply to certain modes of writing to Files (I did not go there).
In Opus, the solution is simple:
It all hinges on the set-up of the Text Input box.
The Text Input box needs to have the following settings: Uncheck --- Tab skips to next textbox Uncheck --- Enter skips to next textbox Check Radio --- Input type is MULTIPLE LINE
--- once that’s done, text that is typed or pasted having line/paragraph breaks… will retain those 'arrangement' Char Codes. In my case, retained within the Ciphertext, and on the decrypt cycle TEXT WHITESPACE DISPLAYS CORRECTLY.
--- this configuration/'fix' probably applies to a few other situations where you want to place and then retrieve text.
Cheers.
BTW, for scripting or for other specific needs to divide sections of text... do a Search for using these: \n \t [Edit-Lar, corrected: is '\' not '/'. Also for search: new line or line break, etc.]
_________________ _good things come to those who wait(0)_
For this message Lar_123 has been thanked by : mackavi
|
|