Friday, January 28, 2011

ColdFusion 8 Model-Glue AJAX & UTF-8 Bug

I am working on a UTF-8 bug in an environment that includes:

ColdFusion 8
Model-Glue
AJAX
json

Entries with UTF-8 are getting into the db but you can not successfully search for them.

Argh!!!

I started with trying to apply the solutions from this site:

Two days of UTF-8 happiness

No success.

Is it CF? No.

Is it that eclipse is not saving the templates in UTF-8 ? No.

Is it the Model-Glue framework? No.

Is it the DB? No.

Can I write simple test pages to pass Spanish punctuated characters? Yes.

Can I extend the above to search the DB and get matching results? Yes.

The problem is that JSON does not handle UTF-8 properly.

So I made a hidden field, on change bas64 encoded it with a JavaScript from Javascript base64


Friday, January 21, 2011

TLLTS Pogoplug Podcast

Notes from The Linux Link Tech Show Podcast

Link to the podcast:




Pogoplug
Pogoplug V1 (Wall Wart)

Pogoplug V2 (Pinky)

Wireless

Media

Biz


Pogoplug hardware chart from Plugapps.com


Pinky Pogoplug Internal



SSH Access


OpenPogo install


Hacking Resources



IPKG Info (not specifically Pogoplug)



SAMBA

Samba Config:

[global]
workgroup = WORKGROUP
server string = Pogoplug Samba2 Server
hosts allow = 192.168. 127.
null passwords = yes
guest account = root
log file = /opt/var/log/samba/log.%m
max log size = 50
security = share
encrypt passwords = yes
smb passwd file = /opt/etc/samba/smbpasswd
dns proxy = no
preserve case = yes

[ShareAll]
comment = Test share
path = /tmp/.cemnt
available = yes
public = yes
writable = yes
printable = no
create mask = 0777
guest ok = yes
browseable = yes



transmission BitTorrent web & cli client


-watch-dir
-transdroid

More ipkg Apps:

lynx
clamav
openvpn
openssh
php
phpmyadmin
sqlite
transmission
bzip2
castget
cron
gzip
mysql
nano
lighttp
mediawiki
ddclient

Resources:

http://plugapps.com

http://twitter.com/plugapps

www.pogoplugged.com

http://www.nslu2-linux.org/wiki/Optware/Packages?from=Unslung.Packages

http://mybookworld.wikidot.com/

http://martin.hinner.info/mybook/

http://lifehacker.com/5637092/turn-a-pogoplug-into-a-fully+featured-linux-web-server