579. Re: Might be a runaway multi-line // string starting on line のエラー


番号順一覧Top スレッド順一覧Top
作者: Bruce.
日時: 2005/9/5(17:32)
Bruce.です。

Zazel writes:

> chomp() のせいだと思います。
> 
> |              If the "encoding" pragma is in scope then the lengths returned
> |              are calculated from the length of $/ in Unicode characters,
> |              which is not always the same as the length of $/ in the native
> |              encoding.

おー、chomp()でupgradeが起きるとは盲点でした。
確かに chomp() しないと utf8フラグもたちませんね。

いじょ。
前の発言: 578. Re: Might be a runaway multi-line // string starting on line のエラー [Zazel] 2005/9/05(16:23)
後の発言: 580. use encoding 'Shift_JIS'下で受け取ったフォームデータ [藤岡和夫] 2005/9/05(22:42)
親発言: 578. Re: Might be a runaway multi-line // string starting on line のエラー [Zazel] 2005/9/05(16:23)
子発言: