<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Diznix Blog &#187; Windows</title>
	<atom:link href="http://diznix.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://diznix.com</link>
	<description>News from Nowhere</description>
	<lastBuildDate>Sun, 05 Feb 2012 05:58:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Microsoft Office</title>
		<link>http://diznix.com/2012/02/01/microsoft-office/</link>
		<comments>http://diznix.com/2012/02/01/microsoft-office/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 22:23:19 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Office 2007]]></category>
		<category><![CDATA[Office 2010]]></category>
		<category><![CDATA[old-style menus]]></category>
		<category><![CDATA[Ribbon interface]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1989</guid>
		<description><![CDATA[This is definitely worth a mention, because it&#8217;s not something I think I&#8217;ll ever want to forget: a way of pretending that the ghastly &#8216;ribbon interface&#8217; in Office 2007 and 2010 doesn&#8217;t exist! For personal use, the UBitMenu is free. &#8230; <a href="http://diznix.com/2012/02/01/microsoft-office/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is definitely worth a mention, because it&#8217;s not something I think I&#8217;ll ever want to forget: a way of pretending that the ghastly &#8216;ribbon interface&#8217; in Office 2007 and 2010 doesn&#8217;t exist!</p>
<p>For personal use, <a href="http://www.ubit.ch/software/ubitmenu-languages/">the UBitMenu is free</a>.</p>
<p>It&#8217;s a tiny install that creates a &#8220;Menu&#8221; tab in the Office ribbon -inside of which sit all the old-fashioned menus whose location and functions you probably know intimately, having used Office for 15+ years. Instead of poking around the &#8220;improved&#8221; ribbon for hours at a time wondering where the hell everything is hiding, now you can use Office as you once knew how to, all over again!</p>
<p>I&#8217;ve spent 4 years trying to get familiar with the Ribbon. I cheerfully admit that this is a lot more useful for me!</p>
<p>&nbsp;</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2012/02/01/microsoft-office/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2012/02/01/microsoft-office/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2012/02/01/microsoft-office/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2012/02/01/microsoft-office/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Corrupt Zips&#8230; or not!</title>
		<link>http://diznix.com/2012/01/13/corrupt-zips-or-not/</link>
		<comments>http://diznix.com/2012/01/13/corrupt-zips-or-not/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 00:47:52 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[7z]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[p7zip]]></category>
		<category><![CDATA[password-protected]]></category>
		<category><![CDATA[repair zips]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1701</guid>
		<description><![CDATA[I created a 78GB zip file, with the Windows version of 7-zip, back in November. Today, for the first time, I tried unzipping it on my Linux desktop: a simple right-click and Extract Here and things looked good: all the file &#8230; <a href="http://diznix.com/2012/01/13/corrupt-zips-or-not/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I created a 78GB zip file, with the Windows version of <a href="http://www.7-zip.org/">7-zip</a>, back in November. Today, for the first time, I tried unzipping it on my Linux desktop: a simple right-click and <em>Extract Here</em> and things looked good: all the file were there in all the right places, properly named and ready to go&#8230;</p>
<p>Unfortunately, when I then tried to do anything with the files produced by the extraction process, all failed to work: music and video files simply refused to play in VLC, Movie Player or anything else, for example.</p>
<p>I feared the worst: a corrupt zip file. I was about to shrug my shoulders, delete the zip file and chalk it up to experience when I thought, &#8216;let&#8217;s try to repair the zip!&#8217; Nothing ventured, nothing gained after all&#8230; and if the repairs failed to work, I&#8217;d at least be no worse off than I was already.</p>
<p>Two programs suggested themselves, thanks to Google (both Windows-only, so run in a virtual machine).</p>
<p>First up: <a href="http://www.diskinternals.com/zip-repair/">Disk Internals</a>. Small download, apparently free, nice wizard point-and-click interface. A bit slow identifying anything capable of being recovered&#8230; and, in the end, it only output a couple of hundred files (out of over 3800 in the original zip) before falling over in a heap and crashing. None of them was usable.</p>
<p>So, second try: <a href="http://www.essentialdatatools.com/products/objectfixzip/">Object Fix Zip</a>. Another small download, standard Windows installation and simple wizard interface. On its first run, it prompted me for a password to the zip file&#8230; and it was at that point I suddenly remembered that I had, indeed, password-protected the original zip file. I also suddenly realised that the Disk Internals program had never prompted me for a password&#8230; no wonder that first program had been unable to recover anything usable!</p>
<p>Even more interesting, Object Fix Zip prompted me for a password&#8230; and then <em>kept</em> prompting me for each file it encountered within the zip. It would accept the password I typed, extract a file from the zip, move onto the next file within the zip and then prompt me again. Then I noticed that (a) every file it appeared to extract was unusable and (b) I could type a password I <em>knew</em> to be rubbish&#8230; and the program would continue to extract, move on, re-prompt.</p>
<p>That in turn made me realise something: the Linux <em>Extract Here</em> menu option had never prompted me for a password at all&#8230; and its outputs were useless. The Disk Internals repair tool had not prompted me for a password either&#8230; its outputs were similarly useless. Object Fix was at least prompting me for a password &#8230; but its continual prompts regardless of what I typed in seemed to suggest that maybe I was providing an incorrect password all along.</p>
<p>So then the penny dropped: could the original idea that my zip file was corrupt be merely the result of the non-supply of a password, or the supply of a wrong password?</p>
<p>I re-ran Object Fix a couple of times more, each time supplying a different plausible password. And Lo! On one of these subsequent runs, it accepted the password and stopped asking for it after that. Clearly, when the right password was supplied, it only needed to be told it once. And, even better, the files being output by the Object Fix tool were (drum roll, please)&#8230; completely usable.</p>
<p>To cut a long story short, I then went back to my Linux desktop and used the Linux equivalent of 7zip (called <strong>p7zip</strong>, but invoked with the command <strong>7za</strong>) to extract the file:</p>
<pre>7za x /path/filename.zipghjghjgh</pre>
<p>&#8230;and this program properly prompted me to supply a password. When I typed in a password I knew couldn&#8217;t possibly be correct, the program at least <em>told</em> me there was a problem:</p>
<pre>CRC Failed in encrypted file. Wrong password?</pre>
<p>The second part of that message is, at least, a good, strong clue as to what&#8217;s wrong, although you could get the wrong idea entirely if you paid any attention to that bit about CRC  failing. A genuinely corrupt file would generate warnings about CRC failures, after all!</p>
<p>So, finally, I re-ran 7za with what I knew by this time to be the correct password&#8230; and the whole thing extracted itself without a hitch. All files were usable, all 78GB of data were back safely from the brink!</p>
<p>In summary, if you think your zip file is corrupt, make sure it wasn&#8217;t originally password-protected. If it <em>was</em> password-protected, don&#8217;t expect Linux&#8217;s &#8216;extract here&#8217; functionality to prompt you for the password -and expect its output to be garbage as a result. A program like p7zip <em>will</em> prompt you for a password appropriately, but may not be obvious about it if the password you supply turns out to be incorrect. And don&#8217;t give up on your zip until you&#8217;ve exhausted every conceivable password!</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2012/01/13/corrupt-zips-or-not/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2012/01/13/corrupt-zips-or-not/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2012/01/13/corrupt-zips-or-not/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2012/01/13/corrupt-zips-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Win NFS Fixed (at a cost)</title>
		<link>http://diznix.com/2011/12/29/win-nfs-fixed-at-a-cost/</link>
		<comments>http://diznix.com/2011/12/29/win-nfs-fixed-at-a-cost/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 23:26:28 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[character set]]></category>
		<category><![CDATA[extended characters]]></category>
		<category><![CDATA[foreign characters]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[ProNFS]]></category>
		<category><![CDATA[UTF8]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1657</guid>
		<description><![CDATA[Further to my last post, in which it was discovered that the NFS client tool included in some editions of Windows 7 can&#8217;t cope with accented characters (or anything not in the standard American view of the alphabet, really)&#8230; The &#8230; <a href="http://diznix.com/2011/12/29/win-nfs-fixed-at-a-cost/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Further to <a href="http://diznix.com/2011/12/29/nfs-windows-and-foreign-characters/">my last post</a>, in which it was discovered that the NFS client tool included in some editions of Windows 7 can&#8217;t cope with accented characters (or anything not in the standard American view of the alphabet, really)&#8230;</p>
<p>The good news is that I have a fix. The bad news is that it comes in the form of a commercial NFS client, called <a href="http://www.labtam-inc.com/download/win32/pnfslabp.exe">ProNFS</a>, which costs US$40. That&#8217;s at least $15 more than I feel entirely comfortable paying, but there&#8217;s a 30-day trialware edition that at least you can test stuff out with before you part with your hard-earned moolah.</p>
<p>Crucially, in the client settings tool that is provided as part of the ProNFS software stack, there&#8217;s this little dialog box:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/12/nfs09.png"><img class="alignnone size-full wp-image-1658" title="nfs09" src="http://diznix.com/wp-content/uploads/2011/12/nfs09.png" alt="" width="359" height="460" /></a></p>
<p>Spot the reference to using UTF8 file names! Woot!</p>
<p>Once you then use the &#8216;map drive&#8217; tool to find your NFS shares and mount them as a standard windows drive letter affair, everything works as advertised on the tin-lid:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/12/nfs11.png"><img class="alignnone size-full wp-image-1659" title="nfs11" src="http://diznix.com/wp-content/uploads/2011/12/nfs11.png" alt="" width="584" height="305" /></a></p>
<p>Spot all those European names displaying correctly, replete with accents, umlauts and cedillas! Problem solved, I think.</p>
<p>I do have a few &#8220;issues&#8221; with this approach to solving the problem, though. I suppose the first one is simply this: &#8220;if they can do it, why can&#8217;t you, Microsoft?!&#8221;. The second is that the installer for this program looks like it was written in 1994 and hasn&#8217;t been updated since! There are lots of little touches on the company&#8217;s website, for example, that make me nervous -constant references to the software being compatible with Vista, for example, with never a mention of Windows 7. If you check out <a href="http://www.labtam-inc.com/index.php?act=products&amp;t=screen_shot&amp;pid=2">their promotional screenshot</a>, too, it will seem as if the software hasn&#8217;t been updated since 2003! They&#8217;re shooting themselves in the foot there, because if you actually run the NFS server component today, it will report version 1.6 with a compile date of June 23rd 2011, which is much more reassuring! Finally, there&#8217;s the not-so-minor matter of the Blue Screen of Death I got when I removed the evaluation version and performed post-removal reboot. I haven&#8217;t seen one of those for years, so getting one as the software is removed didn&#8217;t fill me with warm glows and kindly feelings!</p>
<p>In the end, though, such things are probably not major issues. I should say in fairness that once the software was installed and running, it behaved itself perfectly -and I can live with slightly out-of-date documentation and promotional wares so long as the software behaves itself. Yes, I could wish it were a tad cheaper, but even at US$40, if it means I don&#8217;t have to configure Samba, it&#8217;s probably just about worth it! Colour me happy, ish.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/12/29/win-nfs-fixed-at-a-cost/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/12/29/win-nfs-fixed-at-a-cost/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/12/29/win-nfs-fixed-at-a-cost/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/12/29/win-nfs-fixed-at-a-cost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NFS, Windows and Foreign Characters</title>
		<link>http://diznix.com/2011/12/29/nfs-windows-and-foreign-characters/</link>
		<comments>http://diznix.com/2011/12/29/nfs-windows-and-foreign-characters/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 16:43:59 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[character set]]></category>
		<category><![CDATA[extended characters]]></category>
		<category><![CDATA[foreign characters]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[UTF8]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1645</guid>
		<description><![CDATA[The house now only has one Windows PC left (running 64-bit Windows 7). Everything else is running Linux -though one netbook still retains dual boot capability, just in case. (In case of what exactly I&#8217;m not quite sure, but it always &#8230; <a href="http://diznix.com/2011/12/29/nfs-windows-and-foreign-characters/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The house now only has one Windows PC left (running 64-bit Windows 7). Everything else is running Linux -though one netbook still retains dual boot capability, just in case. (In case of <em>what</em> exactly I&#8217;m not quite sure, but it always pays to be prepared, I guess). The question now arises, then: how best to get that one Windows PC accessing files from the file server (which is busy running Scientific Linux 6.1)?</p>
<p>The obvious answer is &#8216;Samba&#8217;: a quick fiddle on the file server to install the requisite Samba server packages, a modest amount of editing smb.conf and (usually) all is set and ready to run.</p>
<p>This time, however, I thought I&#8217;d be a bit more adventurous. Every other Server, PC, laptop or netbook is running Linux, so why impose the overhead of Samba if it&#8217;s not needed for most of the machines on my network? Why not get Linux&#8217;s &#8220;native&#8221; file sharing system (NFS, or Network File System) running instead and get the Windows PC hooking into that?</p>
<p>Well, the NFS bit is indeed incredibly easy to set up. It&#8217;s already installed on the server: all I had to do was make sure the firewall allowed traffic through (on ports 111 <em>and</em> 2049), configure an export file and start the relevant service. All done in about 5 minutes, to be honest -which is a lot faster than Samba usually is for me! The export file (<strong>/etc/exports</strong>) couldn&#8217;t be much simpler, either, for it contains just one line:</p>
<pre>/safedata 192.168.0.0/24(rw,sync)</pre>
<p>The <em>safedata</em> directory is the mount point for my RAID 5 array, so has all the important data on it. I&#8217;m just saying here that anyone on my home network is allowed to get read-write access to it (in principle, anyway&#8230; normal file permissions still apply, so unless I&#8217;ve chmodded everything 777, not <em>everything</em> will be writeable).</p>
<p>The Linux clients are a doddle to configure, too: it&#8217;s simply a matter of typing this sort of thing (as root):</p>
<pre>mount 192.168.0.100:/safedata /nfsmounts</pre>
<p>That just says &#8216;find the &#8220;safedata&#8221; export on the file server and mount it at the /nfsmounts mount point&#8217;. And, just as I had hoped, I found large files could be copied across to the server from my desktop at a rate of about 48MB/sec. That&#8217;s 384 mega<em>bits</em> per second, which isn&#8217;t bad for my rather humdrum gigabit Ethernet link -and a lot faster than the consistent 25MB/sec I used to get on exactly the same hardware when using Samba to do Linux-to-Linux transfers.</p>
<p>So NFS it is, then!</p>
<p>Not so fast! There&#8217;s the not-so-minor matter of configuring The Other Half&#8217;s Windows PC to partake in this feast of NFS-ness. As I mentioned, that&#8217;s running Windows 7&#8230; and it&#8217;s the Ultimate edition, which means an NFS client is readily available. All you have to do is go to <em>Start &gt; Control Panel &gt; Programs</em> and then select the <strong>Turn Windows features on or off</strong> option:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/12/nfs02.png"><img class="alignnone size-full wp-image-1646" title="nfs02" src="http://diznix.com/wp-content/uploads/2011/12/nfs02.png" alt="" width="545" height="553" /></a></p>
<p>You simply find the <strong>Services for NFS</strong> item, expand it and select the two sub-options for activation. Once you&#8217;ve done that, you can then issue &#8216;mount&#8217; commands on Windows that resemble their Linux cousins very closely:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/12/nfs03.png"><img class="alignnone size-full wp-image-1647" title="nfs03" src="http://diznix.com/wp-content/uploads/2011/12/nfs03.png" alt="" width="584" height="239" /></a></p>
<p>The basic format of the command is simply <em>mount server:/share/name drive_letter: </em>&#8230;and in my case, it means my Music folder stored on the server&#8217;s RAID array is now accessible from the Windows PC by navigating to the M: drive in Explorer:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/12/nfs05.png"><img class="alignnone size-full wp-image-1648" title="nfs05" src="http://diznix.com/wp-content/uploads/2011/12/nfs05.png" alt="" width="574" height="651" /></a></p>
<p>And this is the point where the good news abruptly ends. Sure, getting the NFS export seen and mounted by the Windows PC is a piece of cake&#8230; but as any fule kno, André Mathieu&#8217;s name is spelled with an &#8216;e-acute&#8217; at the end of his first name, not a capital-A-plus-Copyright-symbol as Windows Explorer seems to think is appropriate. Arnold Schönberg will also be missing his O-umlaut and wouldn&#8217;t be impressed with his newly-acquired A-with-tilde-plus-paragraph-mark.</p>
<p>Of course, what we have here is ye olde and ancient trouble with extended Western European &#8216;foreign&#8217; characters. It&#8217;s bugged me for years when doing Samba mounts (but is easily fixed there by specifying a utf-8 mount option when issuing the mount command). Now it&#8217;s back with a vengeance&#8230; and there&#8217;s nothing I can do (apparently) to fix it!</p>
<p>Here&#8217;s the real problem, from the Windows perspective:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/12/nfs06.png"><img class="alignnone size-full wp-image-1649" title="nfs06" src="http://diznix.com/wp-content/uploads/2011/12/nfs06.png" alt="" width="584" height="236" /></a></p>
<p>The mount command on its own lists network drives which have been mounted and the options/attributes that apply to those mounts. The killer line here is <strong>lang=ANSI</strong>, indicating that Windows has mounted the network drive assuming that it will find only ANSI characters at the other end. When it then actually finds UTF-8 characters instead, it gets itself very confused, as we&#8217;ve seen.</p>
<p>Knowing this, it&#8217;s easy to speculate that there must be a way of specifying something like <strong>lang=utf8</strong> when performing the original mount command and that this would fix the problem:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/12/nfs07.png"><img class="alignnone size-full wp-image-1650" title="nfs07" src="http://diznix.com/wp-content/uploads/2011/12/nfs07.png" alt="" width="568" height="263" /></a></p>
<p>That&#8217;s me first unmounting the M: drive I&#8217;d created before and then attempting to re-mount it but with a utf8 language specified instead of the default ansi one. As you can see, however, &#8220;utf8&#8243; is not an option that&#8217;s actually available for this parameter. You can certainly choose a variety of Chinese, Korean and Japanese character sets -and, of course, &#8220;ansi&#8221; is valid, but not &#8220;utf-8&#8243; or anything like it.</p>
<p>As far as I could tell from reading the documentation that comes with the Windows 7 NFS client (go to <em>Control Panel &gt; System and Security &gt; Administrative Tools</em> then open the <strong>Services for Network File System (NFS)</strong> program and hit [F1]), there are no other mount options that can be specified which would have anything to do with getting the character set right. So, as best as I can tell, there is no fix for this problem&#8230; which is truly dumb!</p>
<p>Just to emphasize how silly this is, here&#8217;s the exact same Windows PC browsing through the exact same folders on the exact same server &#8230;only this time, using Samba:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/12/nfs08.png"><img class="alignnone size-full wp-image-1652" title="nfs08" src="http://diznix.com/wp-content/uploads/2011/12/nfs08.png" alt="" width="584" height="585" /></a></p>
<p>The two Andrés have their acute accents, and Arnold gets his umlaut back&#8230; no problems at all.</p>
<p>For me, unless someone else points me in the direction of a fix, this simply means it&#8217;s back to Samba and boo-hiss to NFS, which is a shame as I would much prefer things the other way round.</p>
<p>There are, apparently, commercial NFS clients for Windows. I may have to try to evaluate one of those to see if the character set issues are surmountable, but I am not holding my breath. In the meantime, the freebie stuff from Microsoft on this score is functionally useless to me <img src='http://diznix.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/12/29/nfs-windows-and-foreign-characters/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/12/29/nfs-windows-and-foreign-characters/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/12/29/nfs-windows-and-foreign-characters/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/12/29/nfs-windows-and-foreign-characters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LibreOffice &amp; Oracle</title>
		<link>http://diznix.com/2011/06/02/libreoffice-oracle/</link>
		<comments>http://diznix.com/2011/06/02/libreoffice-oracle/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 05:42:57 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Base]]></category>
		<category><![CDATA[LibreOffice]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[Oracle JDBC]]></category>

		<guid isPermaLink="false">http://diznix.com/?p=1022</guid>
		<description><![CDATA[I don&#8217;t often try and connect to Oracle from LibreOffice, but had to today&#8230; and got completely stuffed whilst doing so! There are two essential problems. The first is that I run Windows 7 64-bit and LibreOffice only comes as &#8230; <a href="http://diznix.com/2011/06/02/libreoffice-oracle/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t often try and connect to Oracle from LibreOffice, but had to today&#8230; and got completely stuffed whilst doing so!</p>
<p>There are two essential problems.</p>
<p>The first is that I run Windows 7 64-bit and LibreOffice only comes as a 32-bit Windows download. This means, in turn, that a 64-bit Java Runtime Environment is not recognised by LibreOffice, which therefore complains that no JRE exists whenever you try to connect to a database with its &#8220;Base&#8221; application. The fix here is to install a 32-bit JRE, which you can do <a href="http://java.com/en/download/manual.jsp">by going here</a> and making sure to select the <strong>Windows 7/XP Office (32-bit)</strong> download. 32-bit and 64-bit JREs can co-exist on the same PC, so installing both is not an issue.</p>
<p>The second is that Base connects to Oracle via its &#8216;Oracle JDBC&#8217; option, which is there from the get-go&#8230; but which won&#8217;t work because it doesn&#8217;t know how to load the necessary Java classes. The fix here is to make sure you know where your <strong>ojdbc6.jar</strong> file is (which contains the necessary classes): on my Windows laptop on which I&#8217;d previously installed a complete 11g Release 2 database, that file can be found in <strong>%ORACLE_HOME%jdbclib</strong> (which, in my case, is <strong>c:apphjrproduct11.2.0dbhome_1jdbclib</strong>). With that location in mind, you need to open any of the LibreOffice applications, go to <em>Tools &gt; Options &gt; Java</em> and click the <strong>Class Path</strong> button. Click the <strong>Add Archive</strong> button and navigate to the &#8230;jdbclib directory and point it at the ojdbc6.jar file. Click OK as appropriate to store the new setting.</p>
<p>At which point, you should be good to go.</p>
<p>If, as is quite likely, you don&#8217;t have a complete Oracle installation on your client PC, and you&#8217;re disinclined to install a big, fat client either, then you can simply <a href="http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html">download the necessary ojdbc file from Oracle</a> and stick it somewhere convenient. Point your LibreOffice Java Class Path at it, wherever it might be, and you should be good to go. For example, this shows you I have no Oracle client or database installed on this particular PC:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/06/loffice1.png"><img class="alignnone size-full wp-image-1023" title="loffice1" src="http://diznix.com/wp-content/uploads/2011/06/loffice1.png" alt="" width="325" height="474" /></a></p>
<p>&#8230;you&#8217;d see something like &#8216;Oracle &#8211; OraDB11g_home1&#8242; in the menu if I&#8217;d installed an Oracle database or client. But I did download the ojdbc6 file to my desktop -and here&#8217;s the LibreOffice setting for that:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/06/loffice2.png"><img class="alignnone size-full wp-image-1024" title="loffice2" src="http://diznix.com/wp-content/uploads/2011/06/loffice2.png" alt="" width="500" height="293" /></a></p>
<p>And having set that, it&#8217;s then trivial to point LibreOffice&#8217;s Base at my Oracle database:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/06/loffice3.png"><img class="alignnone size-full wp-image-1025" title="loffice3" src="http://diznix.com/wp-content/uploads/2011/06/loffice3.png" alt="" width="500" height="361" /></a></p>
<p>After which, standard &#8216;Access-like&#8217; stuff becomes possible. Here&#8217;s LibreOffice&#8217;s Base and the good ol&#8217; EMP table:</p>
<p><a href="http://diznix.com/wp-content/uploads/2011/06/loffice4.png"><img class="alignnone size-full wp-image-1026" title="loffice4" src="http://diznix.com/wp-content/uploads/2011/06/loffice4.png" alt="" width="447" height="556" /></a></p>
<p>In short, it&#8217;s all relatively painless -provided you to stick to a 32-bit client/JRE and you know how to point your LibreOffice installation to your ojdbc class library.</p>
<p>&nbsp;</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2011/06/02/libreoffice-oracle/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2011/06/02/libreoffice-oracle/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2011/06/02/libreoffice-oracle/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2011/06/02/libreoffice-oracle/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Windows 7 Login Screen</title>
		<link>http://diznix.com/2010/09/11/windows-7-login-screen/</link>
		<comments>http://diznix.com/2010/09/11/windows-7-login-screen/#comments</comments>
		<pubDate>Sat, 11 Sep 2010 05:01:25 +0000</pubDate>
		<dc:creator>dizwell</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Login Screen]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://diznix.com/dizwell/?p=217</guid>
		<description><![CDATA[When I have to use Windows 7, the first thing that really puts me off is the dolls-house-y login screen. It&#8217;s so clutzy as to be annoying, and I didn&#8217;t realise until today that it can be gotten rid of. &#8230; <a href="http://diznix.com/2010/09/11/windows-7-login-screen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When I have to use Windows 7, the first thing that really puts me off is the dolls-house-y login screen. It&#8217;s so clutzy as to be annoying, and I didn&#8217;t realise until today that it can be gotten rid of. Which makes this an essential thing to do on any Windows 7 system you are unfortunate enough to have to use. You can do it by poking around in the registry, or by <a href="http://windows7center.com/wp-content/downloads/W7CLogonUIChanger.zip">running this svelte utility</a>.</p>
<div class="simple_likebuttons_container_small">
      <div class="simple_likebuttons_googleplus">
        <g:plusone size="medium" count="false" href="http://diznix.com/2010/09/11/windows-7-login-screen/"></g:plusone>
      </div>
    
      <div class="simple_likebuttons_twitter simple_likebuttons_twitter_s">
        <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-url="http://diznix.com/2010/09/11/windows-7-login-screen/" data-lang="en">Tweet</a>
      </div>
    
      <div class="simple_likebuttons_facebook">
        <div id="fb-root"></div>
        <script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.id = id;
          js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, "script", "facebook-jssdk"));</script>
        <div class="fb-like" data-href="http://diznix.com/2010/09/11/windows-7-login-screen/" data-send="false" data-layout="button_count" data-show-faces="false" data-width="90"></div>
      </div>
    </div>]]></content:encoded>
			<wfw:commentRss>http://diznix.com/2010/09/11/windows-7-login-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: diznix.com @ 2012-02-05 23:38:31 -->
