elective-stereophonic
elective-stereophonic
Line separator
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: Line separator  (Read 2083 times)

rudeboi

  • Hero Member
  • *****
  • Karma: +55/-4
  • Offline Offline
  • Posts: 633
  • Nxt Organization Member
    • View Profile
Line separator
« on: January 02, 2015, 12:44:22 pm »

How do you include a line separator in a AM through the API?

With the UI all you have to do is press enter and text starts on a new line, however through the API how is this achieved? Special character?


Logged
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬  ▄▀▀▀▀▀▀▀▀▄  ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●  nimirum  ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬ ◖ENDING CENSORSHIP ONLINE◗  ◖ ICO OPEN NOW◗ ▬▬▬

capodieci

  • Hero Member
  • *****
  • Karma: +256/-19
  • Offline Offline
  • Posts: 1360
  • BlockchainZoo.com
    • View Profile
    • ZooBC - Advancing Blockchain Technology
Re: Line separator
« Reply #1 on: January 02, 2015, 12:46:21 pm »

Just giessing: \n\r

From mobile

Logged
- Decentralised Business Network: DeBuNe -
Will be implemented on
ZooBC.com - Join the forum ZooBC.org - By Blockchain Zoo

rudeboi

  • Hero Member
  • *****
  • Karma: +55/-4
  • Offline Offline
  • Posts: 633
  • Nxt Organization Member
    • View Profile
Re: Line separator
« Reply #2 on: January 02, 2015, 01:02:39 pm »

Just giessing: \n\r

Tried that, no luck :(
Logged
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬  ▄▀▀▀▀▀▀▀▀▄  ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●  nimirum  ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬ ◖ENDING CENSORSHIP ONLINE◗  ◖ ICO OPEN NOW◗ ▬▬▬

LiQio

  • Hero Member
  • *****
  • Karma: +50/-5
  • Offline Offline
  • Posts: 672
    • View Profile
    • NxtLoader for Windows
Re: Line separator
« Reply #3 on: January 02, 2015, 01:30:00 pm »

RB did you try "%0A" without the quotes? -> url encoding
(Just saw that you opened this thread)

Come-from-Beyond

  • Hero Member
  • *****
  • Karma: +794/-671
  • Offline Offline
  • Posts: 4013
    • View Profile
Re: Line separator
« Reply #4 on: January 02, 2015, 02:05:57 pm »

How do you include a line separator in a AM through the API?

It depends on the way AMs are displayed. If via HTML then you need "<br>".
Logged

ChuckOne

  • Hero Member
  • *****
  • Karma: +293/-17
  • Offline Offline
  • Posts: 3450
  • ☕ NXT-4BTE-8Y4K-CDS2-6TB82
    • View Profile
Re: Line separator
« Reply #5 on: January 03, 2015, 02:40:05 pm »

How do you include a line separator in a AM through the API?

It depends on the way AMs are displayed. If via HTML then you need "<br />".

FIFY ;)
Logged

Come-from-Beyond

  • Hero Member
  • *****
  • Karma: +794/-671
  • Offline Offline
  • Posts: 4013
    • View Profile
Re: Line separator
« Reply #6 on: January 03, 2015, 03:06:46 pm »

FIFY ;)

This will lead to extra blockchain bloating. Fix it back. :)
Logged

rudeboi

  • Hero Member
  • *****
  • Karma: +55/-4
  • Offline Offline
  • Posts: 633
  • Nxt Organization Member
    • View Profile
Line separator
« Reply #7 on: January 03, 2015, 03:20:56 pm »

@ cfb for being displayed in the standard UI.

Thanks everyone I tried all suggestions, LiQio's works fine, all the others just display as text.

For future reference if you want split line messages in the UI use: %0A
Logged
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬  ▄▀▀▀▀▀▀▀▀▄  ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●  nimirum  ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬ ◖ENDING CENSORSHIP ONLINE◗  ◖ ICO OPEN NOW◗ ▬▬▬
 

elective-stereophonic
elective-stereophonic
assembly
assembly