Line breaks in text areas
-
- New User
- Posts: 1
- Joined: Wed Oct 30, 2019 2:39 pm
- First Name: Anthony
- Last Name: Ferrante
- Company Name: Summit Holdings LLC
- Phone: 863 513-9500
- City: Lakeland
- State / Province: Florida
- Zip / Postal Code: 33801
- Country: United States
- Contact:
Line breaks in text areas
Is there a hex value I should be looking for when taking in data from a text area to RPG for a line break? I'm trying to export contents from a text area to another file while keeping the same formatting.
Anthony Ferrante
Associate Application Developer
Summit Holdings
Associate Application Developer
Summit Holdings
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Line breaks in text areas
There should be newline characters sent where the linebreaks occur.
In most flavors of EBCDIC this would be x'25'
in ASCII it'd be x'0A'
In most flavors of EBCDIC this would be x'25'
in ASCII it'd be x'0A'
-
- New User
- Posts: 3
- Joined: Tue Oct 18, 2011 2:46 pm
- First Name: Mike
- Last Name: Shumaker
- Company Name: Summit Consulting
- Contact:
Re: Line breaks in text areas
Scott;
We will make these changes but I did want to point out that this was something that stopped working after we installed the latest release of ProfoundUI. This was with no changes to any code or recompiles.
Our old code was checking for x'0D'. I just thought you would like to be aware in case anyone else runs into the same issue.
Anthony is trying the changes you suggested today.
Thanks for all of your help.
Mike Shumaker
IBM i Application Development Manager
Summit Consulting
We will make these changes but I did want to point out that this was something that stopped working after we installed the latest release of ProfoundUI. This was with no changes to any code or recompiles.
Our old code was checking for x'0D'. I just thought you would like to be aware in case anyone else runs into the same issue.
Anthony is trying the changes you suggested today.
Thanks for all of your help.
Mike Shumaker
IBM i Application Development Manager
Summit Consulting
Who is online
Users browsing this forum: No registered users and 0 guests