[Top][All Lists]

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

Re: Using `\t' in msgstr

From: Mickey Ferguson
Subject: Re: Using `\t' in msgstr
Date: Thu, 3 Apr 2008 13:37:54 -0700

"Yavor Doganov" <address@hidden> wrote in message 

>This seems to be the case on FreeBSD [2], so he suggests to replace
all usages of \t with 8 consecutive spaces.

This is a bad idea for another reason than was stated by other replies.  A 
tab will be replaced by UP TO eight spaces.  If the spot on the line where a 
tab would be inserted was at position 38, two spaces are inserted to move to 
position 40.  If the line position is at 32, eight spaces are inserted.  So 
you can't just blindly replace a tab with eight spaces. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]