Do you mean I should specify encoding in the page html-code <meta http-equiv ='Content-Type' content='Type=text/html; charset=utf-8'> or somewhere on the backend? I should mention, most of site content is in russian (UTF-8 is prefered), however credentials (login, pass, email) may be only latin.
2012/6/26 Jeremy Darling <[email protected]> > Random stab in the dark, but I don't see where you are enforcing encoding. > By default Win XP 64 still uses ASCII or UTF-8 (one or the other can't > remember specifically). You might try forcing encoding on your packets as > when they are getting received by the client they are probably running into > a UTF transcode issue. > > Long theory short, enforce UTF-8 before sending. If that doesn't work > enforce ASCII and try again. > > - Jeremy > > On Mon, Jun 25, 2012 at 1:58 PM, Akira <[email protected]> wrote: > >> I'm doing simple authorization with NodeJS using mongodb. The problem >> is Chrome on my work computer doesnt't want to get cookes from my Node- >> app. We use Google Chrome 17.0.963.56. Same thing goes with Opera/FF. >> Bug founded on Windows XP Professional x64 Edition Version 2003 >> Service Pack 2. Detailed source I use can be found at this topic: >> >> http://stackoverflow.com/questions/11103842/nodejs-mongodb-redis-register-and-login-sessions-issue >> >> I thought there is something wrong with my code, so I've tried >> Passport module for NodeJS. [https://github.com/jaredhanson/passport- >> local][2] The result is the same. I've shot a small video, >> demonstrating what's going on when I try to login at my own and >> Passport-based website. The same issue: http://youtu.be/ezkku8wfqWg >> >> Interesting, that there are no problems with the same code, when I >> access it from my Mac, ubuntu, Windows 7, other computers from >> network. However, default browser on my chief's android tablet also >> doesn't want to login with the same symptoms. Here is the server I've >> launched for testing with passport-local system: >> >> http://50.57.164.170:3000 >> >> as you may see on video, I can't login. Test credentials are bob/ >> secret. >> I've tried this code on several computers, deployed on Rackspace >> clouds, Linode clouds, set up private physical webserver in out >> corporate network - no luck. Chrome on x64 and Android can't login. >> The problem exists: besides login is correct, POST request is >> starring, it can't store session and place a cookie - the >> req.body.session is empty in another function. >> >> I'even re-written auth system on Django-python, everything works >> perfect. >> >> Any ideas? >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- With best wishes, Ilya Rusanen [email protected] -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
