[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] Re: jboselkei is back



I don't have a Linux computer. My main computer is Windows, which I use to do the editing. I believe my web host uses Linux. I do have a Mac laptop which I could use, but it would be a hassle to transfer the files over to it. I also have cygwin, a collection of Unix utilities for Windows, so I wonder if something there could help me.

On Wednesday, 6 November 2013 04:59:37 UTC-8, Pierre Abbat wrote:
On Tuesday, November 05, 2013 19:05:58 qx4...@gmail.com wrote:
> I added some language support to the test jboselkei so that people can
> select a language when posting and searching. I don't know how to fix the
> problem of unicode characters being converted into ASCII characters. I also
> had some other problems with unicode. I had a PHP file that contained
> literal strings with unicode characters in it and saved it in unicode
> format, but when I displayed a file that included that file, the PHP code
> itself was displayed followed by a large amount of Chinese characters. I
> resaved the file in ANSI format and now names of some other languages
> appear as question marks on the jboselkei test.

This sounds like the "naku dei jungo lerfu" bug, which means you're
interpreting ASCII or UTF-8 text as UTF-16, which means you're probably using
Windows.

phma@chausie:~$ echo -n "naku dei jungo lerfu" |iconv -f utf-16 -t utf-8
慮畫搠楥樠湵潧氠牥畦phma@chausie:~$

Does it work if you edit the site on Linux?

Pierre
--
The Black Garden on the Mountain is not on the Black Mountain.

--
You received this message because you are subscribed to the Google Groups "lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http://groups.google.com/group/lojban.
For more options, visit https://groups.google.com/groups/opt_out.