[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
newlispfanclub.alh.net • View topic - println decimal string

println decimal string

Q&A's, tips, howto's

println decimal string

Postby Thorstein » Tue May 26, 2015 11:46 pm

Running on windows,

(exec)'ing Google Translate returns the following str inside a JSON container:

(a) "Nous allons habiller pour la randonnée, selon la météo."

However, somewhere in the process of a (string str "") or (replace x str y) the str begins to (println) as this:

(b) "Nous allons habiller pour la randonn\195\169e, selon la m\195\169t\195\169o. \n\n</td></tr>"

How can I convert (b) to (a) so I can (println) (a) to a static HTML file?

Do I have to make a unicode build?
Thorstein
 
Posts: 2
Joined: Tue May 26, 2015 11:30 pm

Re: println decimal string

Postby Lutz » Wed May 27, 2015 6:10 pm

Lutz
 
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Re: println decimal string

Postby Thorstein » Mon Jun 15, 2015 7:28 pm

Thanks, Lutz! I found the latest UTF8 build. That is doing the trick. (That and RTFM! :-/ ).

And many thanks for this great Lisp! (And for the great documentation.)
Thorstein
 
Posts: 2
Joined: Tue May 26, 2015 11:30 pm


Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 1 guest

cron