IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1992.93 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-19
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Next >
[13:46]<mjzymygo>rikkus: your talking bullshit
[13:46]<zyccus>it works beautifully
[13:46]<mjzymygo>just wait ;)
[13:47]<zyccus>we have another application for which updates are sent out as SPs
[13:47]<ceredtuw>Well of course, this is my first day in the channel :)
[13:47]<zyccus>people lose track of which SP was sent to who and for what
[13:47]<mjzymygo>rikkus: not in my experience
[13:48]<zyccus>with my system, I make a change, write in the changelog what's going in this new version, press a button, and it gets sent out
[13:48]<zyccus>it works, customer is happy, there's never been any problems
[13:48]<zyccus>'dumb stupid and impractical' ... not true
[13:48]<mjzymygo>then you must be doing some damned small work
[13:49]<zyccus>Hmm, I've had enough of being slagged off
[13:49]<wr2e>hello. i have a string built from bytes, and some bytes are from different codepages. in mono, the resulting string (copied from a Console.Writeline) is: ノï¾edline ノï¾acing (should see japanese chars there, if not, get a better irc client)
[13:50]<wr2e>now this is in a .dll, which i then use in windows - but i just cant make those japanese chars show up
[13:50]<mjzymygo>wabz: does the machine have the japanese language MUI installed?
[13:50]<wr2e>what's an MUI?
[13:51]<sdnffdxdlld>Multilanguge User Interface iirc
[13:51]<mjzymygo>yeh.. thanks
[13:51]<wr2e>i dont think so no
[13:51]<mjzymygo>then thats why ;)
[13:51]<wr2e>but there is software on the computer which displays those chars properly
[13:51]<mjzymygo>you need the fonts to see the chars
[13:51]<wr2e>yep, i installed free serif, which has those characters
[13:52]<wr2e>and told the listview to use that font, but those chars still showed up as squares
[13:52]<mjzymygo>wabz: are you using that foint in your app?
[13:52]<mjzymygo>hmm... sounds like you have an encoding issue.
[13:52]<wr2e>me too. ill paste the code which constructs the string
[13:52]<mjzymygo>look into the GLobalisation/Culture stuff and Text encodings.
[13:53]<mjzymygo>just so you know, in c# characters are 2 bytes in length, not one as they are unicode based
[13:53]<mjzymygo>CrazyTux... we don't argue all the time. but we all have strong oppinions and experience in differing areas.
[13:53]<ceredtuw>Moridin8, ok good to know haha :)
[13:54]<wr2e>http://pastebin.ca/92220
[13:55]<wr2e>the bytes are coming from a network stream
[13:55]<ceredtuw>http://monoport.com/578 Someone mind telling me, what I'm doing wrong as far as my method calls?
[13:56]<mjzymygo>wabz: something important just cropped up... i'm gonna have to come back later...
[13:56]<mjzymygo>sorry
[13:56]<mjzymygo>Moridin8|Busy
[13:56]<wr2e>okay, np
[13:58]<ceredtuw>Ahh stupid irc client keeps crashing.
[13:58]<ceredtuw>Any ideas on that pastebin code, it has something to do with the way I'm trying to access the Add() and Subtract() methods?
[13:59]<wr2e>CrazyTux: they're not static
[13:59]<wr2e>so either make them static, or instanstiate an instance to call them
[14:00]<ceredtuw>wabz, thank you.
[14:00]<wr2e>now will you return the favour and solve my encoding problem? ;)
[14:00]<ceredtuw>wabz, haha, if only I knew where to begin
[14:01]<ceredtuw>wabz, maybe in a few weeks?
[14:01]<ceredtuw>:)
[14:01]<wr2e>okay!
[14:01]<ceredtuw>todays my first day dealing with C#
[14:01]<wr2e>this is the first thing ive written in c# too :p
[14:01]<ceredtuw>Seriously?
[14:01]<ceredtuw>wabz, what language are you origin from?
[14:02]<[dam]>wabz paste your line where you convert your byte array to a string..
[14:02]<wr2e>c, perl, java mostly
[14:02]<ceredtuw>wabz, ah thats why, I come from mainly web background php / perl / javascript, web stuff.
[14:02]<wr2e>[DcM] i pasted the whole method - http://pastebin.ca/92220
[14:04]<ceredtuw>wabz, what are you making?
[14:05]<wr2e>a server browser for a racing game - www.browseforspeed.net is the page for this project
[14:05]<wr2e>the main problem is the browser protocol is/was undocumented
[14:05]<[dam]>"CodePage 1252 is the best all around choice for Western content" just a guess but maybe on windows your using a Western codepage.. so tmp != "^J"
[14:06]<wr2e>huh?
[14:07]<wr2e>if i come across a ^J, then the next bytes are from codepage 932
[14:07]<wr2e>^L put's it back to 1252, but if nothing is specified then that's default
[14:07]<lyfuym-wjzc>CrazyTux dont mention perl please
[14:07]<[dam]>err yeah.. sorry I'm tired..
[14:07]<ceredtuw>Liquid-Work, whys that? :D
[14:07]<wr2e>i mentioned it, and it's great
[14:08]<lyfuym-wjzc>perl is bad
[14:08]<wr2e>if you're a retard
[14:08]<lyfuym-wjzc>wabz erm no
[14:08]<[dam]>so what's the problem?
[14:08]<lyfuym-wjzc>its just a very dirty language
[14:08]<lyfuym-wjzc>syntax wise
[14:08]<wr2e>[DcM]: in windows, when i try to display the returned string, where those japanese chars are i just see boxes
[14:08]<wr2e>it's a beautiful language syntax wise
[14:09]<lyfuym-wjzc>its like the whore of programming languages
[14:09]<wr2e>in linux they display fine
[14:09]<wr2e>but i dont know if thats just because of the font or what
[14:09]<[dam]>sounds like the font..
[14:09]<wr2e>(ive tried using that free serif font which has japanese chars, doesnt work)
[14:09]<lyfuym-wjzc>wabz its the font
[14:10]<lyfuym-wjzc>wabz
[14:10]<lyfuym-wjzc>you using mono?
[14:10]<wr2e>yep
[14:11]<lyfuym-wjzc>how to you find it
[14:11]<wr2e>seems to work
[14:11]<sdnffdxdlld>you see if you attach a debugger to the server and set it to catch all execptions then it doesnt catch the exception
[14:11]<lyfuym-wjzc>why not use perl + gtk?
[14:12]<sdnffdxdlld>even if you make sure catch all execptions is set it still doesn't
[14:12]<lyfuym-wjzc>Andy you having a bad day?
[14:12]<mjzymygo>smellyhippy: yeh.. I noticed that myself. sucky huh
[14:12]<wr2e>because then id have to get windows users to install gtk
[14:12]<lyfuym-wjzc>wabz mono does not do windows forms
[14:12]<lyfuym-wjzc>:)
[14:12]<lyfuym-wjzc>well not correctly
[14:12]<wr2e>i only code the library in mono
[14:13]<wr2e>the frontend is done in sharp develop
[14:13]<lyfuym-wjzc>ah ok
[14:14]<wr2e>http://www.alanwood.net/unicode/fonts.html#freeserif
[14:14]<wr2e>is what i tried







