At the top of your test window, add:
htp.HTBUF_LEN := FLOOR(255/4);
This is assuming you use AL32UTF8 as a character set, which uses up to 4 bytes per character. If you use a different character set you can change the "4" to a more appropriate number if you want, but "4" works as well.
The reason this is necessary is due to the following in the sys.htp package header:
HTBUF_LEN number := 255;
type htbuf_arr is table of varchar2(256) index by binary_integer;
This array is defined as 256
bytes, but HTBUF_LEN defines a length in
characters. If you use a multi-byte character set, you need to adjust HTBUF_LEN accordingly before you can use the htp package for output.
You can search the internet for "oracle HTBUF_LEN" to get some more information.