63
Views
2
Comments
Solved
chr(149) does not create a bullet point (•)?
Application Type
Reactive
Service Studio Version
11.54.58 (Build 63262)
Platform Version
11.28.0 (Build 43201)

I want to use bullets points in an error message. The "solution" i found was to use Chr(149) inside the desired expression:

 ... + " " + Chr(149)

But it generates a weird symbol and the resulting message is:

I tried using other numbers (147, 148, etc) but most of them return the 4 horizontal lines.

Did i do something wrong? Is it the wrong code? is there a better way to add bullets points in an expression?

2022-07-11 14-05-36
Jeroen Barnhoorn
Solution

Hi Manuel,

I think you're looking at the Windows character set. OutSystems uses the ISO 8859-1 (Latin-1) set, for which character 149 is not defined. Have you tried Chr(183)? I believe that should give you the result you're looking for.

(For the full list, see: https://cs.stanford.edu/people/miles/iso8859.html)

2024-05-14 10-47-26
Manuel Ribeiro

Thank you Jeroen, it was as you said, i since changed it to Chr(183). The middle dot generated is a bit small compared to the "normal" bullet point, so i might change it to a line. Anyways, thank you!


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.